Stepping over longjmp presumably broken for glibc

Daniel Jacobowitz
2005-12-22T21:17:40Z

GDB sets breakpoints at longjmp, and when it hits one, it fetches the
address of the jmp_buf, reads the PC from it, sets a breakpoint at that PC,
and continues. This needs to be redone, probably to single-step. Current
versions of glibc for many platforms xor the saved PC with a randomized
canary, so setting a breakpoint at that "address" isn't going to work
especially well.

--
Daniel Jacobowitz
CodeSourcery, LLC