This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [Fwd: Unwinding through `no return'?]
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: ac131313 at redhat dot com, gdb at sources dot redhat dot com
- Date: Wed, 13 Aug 2003 13:43:27 -0400
- Subject: Re: [Fwd: Unwinding through `no return'?]
Three comments, kinda superficial:
Sometimes the caller will be in code with no debug info,
such as library code. RA-1 would be good there.
Look at the case where the operating system delivers a signal and sets
up a sigreturn frame. In that case, a return address on a stack
really does point to the first instruction of a function (__restore
on my red hat linux 8 box). RA-1 would be bad there.
Someone, maybe rth?, mentioned that on some architectures,
the ABI requires a nop instruction after a noreturn call.
If we ask gcc to do something like that in all cases it might
make our job easier.
Michael C