On 2013/10/25 19:45:08, Mark Mentovai wrote:
> Does this impact breakpoints in a debugger?
hum yes, int 3 also triggers sigtrap
not sure whether running in a debugger and running breakpad at the same time
works at all?
I guess alternatively, I could change
https://code.google.com/p/chromium/codesearch#chromium/src/base/logging.cc&l=666
to do something more radical to crash.
jochen wrote:
> On 2013/10/25 19:45:08, Mark Mentovai wrote:
> > Does this impact breakpoints in a debugger?
>
> hum yes, int 3 also triggers sigtrap
>
> not sure whether running in a debugger and running breakpad at the same time
> works at all?
>
> I guess alternatively, I could change
>
https://code.google.com/p/chromium/codesearch#chromium/src/base/logging.cc&l=666
> to do something more radical to crash.
Instead of int3, you could make it emit ud2, which would raise SIGILL. With gcc
and clang, __builtin_trap() should give you one of those on x86 without any
inline asm.
Issue 654002: Add SIGTRAP to the handled signals on Linux
(Closed)
Created 11 years, 6 months ago by jochen
Modified 11 years, 5 months ago
Reviewers: Mark Mentovai
Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Comments: 0