vim-unstack
vim-unstack copied to clipboard
Can not deal newline in gdb call stack
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.