Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Stepping over longjmp presumably broken for glibc
@ 2005-12-22 21:17 Daniel Jacobowitz
  2005-12-23  3:32 ` Jim Blandy
  2005-12-23  8:25 ` Eli Zaretskii
  0 siblings, 2 replies; 27+ messages in thread
From: Daniel Jacobowitz @ 2005-12-22 21:17 UTC (permalink / raw)
  To: gdb; +Cc: libc-alpha

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


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2006-01-06 21:28 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-22 21:17 Stepping over longjmp presumably broken for glibc Daniel Jacobowitz
2005-12-23  3:32 ` Jim Blandy
2005-12-23  8:25 ` Eli Zaretskii
2005-12-23 13:20   ` Daniel Jacobowitz
2005-12-23 15:16     ` Eli Zaretskii
2005-12-23 15:20       ` Daniel Jacobowitz
2005-12-23 17:07         ` Eli Zaretskii
2005-12-23 17:09           ` Daniel Jacobowitz
2005-12-23 17:46             ` Eli Zaretskii
2005-12-23 18:01               ` Simon Richter
2005-12-24 11:59                 ` Eli Zaretskii
2005-12-24 16:23               ` Daniel Jacobowitz
2005-12-24 16:36                 ` Eli Zaretskii
2005-12-24 16:59                   ` Daniel Jacobowitz
2005-12-26  4:06                   ` Jim Blandy
2005-12-26  5:19                     ` Eli Zaretskii
2005-12-27  4:24                       ` Jim Blandy
2005-12-30  2:38                         ` Daniel Jacobowitz
2005-12-30  9:32                           ` Mark Kettenis
2005-12-30 16:25                             ` Daniel Jacobowitz
2006-01-02  5:25                               ` Jim Blandy
2006-01-06 19:43                                 ` Daniel Jacobowitz
2006-01-06 20:28                                   ` Jim Blandy
2006-01-06 20:36                                     ` Daniel Jacobowitz
2006-01-06 20:53                                       ` Jim Blandy
2006-01-06 21:27                                       ` Mark Kettenis
2006-01-06 21:28                                         ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox