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


> Some sense, but not good sense.
> 
> 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.

the problem is precisely that ... the register that we need to restore
(pcsqh/pcsqt) cannot be written to by gdb :(

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]