This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]