Skip to content

Can not deal newline in gdb call stack #34

Description

@theidexisted

Hi, thanks for this great project, I find a bug when deal gdb call stacks with newline in the middle.

Take this call stack as example:

#8  0x00007f2a7b70eeb7 in google_breakpad::ExceptionHandler::SignalHandler (sig=11, info=0x7f2a101ca730, uc=0x7f2a101ca600) at src/client/linux/handler/exception_handler.cc:376
#9  0x00007f2a6b3fc488 in Request::~Request (this=0xdc1ec750, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /var/lib/Request.cpp:58
#10 0x00007f2a6a565b03 in Command::Release (this=0xdc1ec750) at /var/lib/Command.h:101

The frame 9 will be skipped in the result. I tried to fixed by modify the regex expression but failed, seems in the vim regex syntax there are no escaped newline character.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions