[patch/rfa] allow unwinding "past main" for dummy frames

Randolph Chung randolph@tausq.org
Mon Dec 6 14:11:00 GMT 2004

> Can we edit the space registers ourselves?  If so, why don't we rely on
> that?  I'm not talking about the call, just the return.  So generate a
> call to __gcc_plt_call with a return address anywhere you please, and
> after the dummy call when we restore the saved regcache the space
> registers will be right again.  So you could just use _start.

i can rewrite the stack trampoline so that we don't need to change
frame.c, i think.  i'll give that a try tomorrow if you think that's a
better way to go; but i think making us not stop unwinding at dummy
frames, wherever they point, seems reasonable too...

Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports

More information about the Gdb-patches mailing list