Neil wrote:
Steve Fink wrote:
On Mon 19 Aug 2013 01:15:51 PM PDT, Neil wrote:
Does Linux have a debugging story? On Windows x86 I can happily let
the application run and when it crashes I click Debug and WinDbg is
launched for me, and I can inspect the crash state and possibly fix
things up and resume the application. Or I can launch the
application from WinDbg and ignore all first chance exceptions so
that only real crashes break into the debugger.
On Linux I used to launch the application under gdb, however
recently some JS changes made this unhelpful as gdb catches the
various SIGSEGV and/or SIGBUS signals that the JS engine
deliberately triggers. If I ignore those signals then if I run into
a real crash then the application will just quit, which defeats the
object of running a debugger. I can set a breakpoint on
AsmJSFaultHandler+49 but it's presumably too late to get back to the
execution state at the point of the signal...
I filed bug 906860.
OK, so my next question is how do I make gdb load this file?
Well, I sourced it manually, and gdb decided I wanted to paginate the
catchpoint...
--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform