public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Identifying bottom-of-stack
@ 2004-08-04 16:01 Andrew Cagney
  2004-08-04 17:17 ` Daniel Jacobowitz
  2004-08-04 19:02 ` Roland McGrath
  0 siblings, 2 replies; 10+ messages in thread
From: Andrew Cagney @ 2004-08-04 16:01 UTC (permalink / raw)
  To: gdb; +Cc: Roland McGrath

Hello,

In the multi-threaded case, GDB's having fun identifying the outer-most 
(oldest) frame and, unfortunatly, has this habit of backtracing past it :-/

Does anyone see a problem with:

- GLIBC marking those outermost frames with CFI indicating that both the 
CFA and the RA are "unknown"?

- GDB's CFI unwinder recognizing this and returning a NULL frame ID (gdb 
doesn't unwind _past_ such a frame).

I think this would give us a portable way of terminating the stack.

comments?
Andrew

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

end of thread, other threads:[~2004-08-11 17:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-04 16:01 Identifying bottom-of-stack Andrew Cagney
2004-08-04 17:17 ` Daniel Jacobowitz
2004-08-04 18:12   ` Andrew Cagney
2004-08-04 18:03     ` Daniel Jacobowitz
2004-08-04 18:31       ` Andrew Cagney
2004-08-04 19:02 ` Roland McGrath
2004-08-05  9:42   ` Mark Kettenis
2004-08-05 13:03     ` Andrew Cagney
2004-08-05 20:18     ` Roland McGrath
2004-08-11 17:51       ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).