[Fwd: Unwinding through `no return'?]

Michael Elizabeth Chastain mec@shout.net
Wed Aug 13 17:43:00 GMT 2003


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



More information about the Gdb mailing list