This is the mail archive of the gdb-patches@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: [patch/rfa] allow unwinding "past main" for dummy frames


> 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
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/


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