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: [RFC] Infinite backtraces...


> #0 callee
> #1 callee stub
> #2 caller
> 
> if you do a "finish" from callee, gdb will stop in the callee stub
> instead of at the caller. quite annoying :(

Ah yes, of course. What a bummer.

> i'm wondering if we should make the hppa unwinders more export-stub
> aware -- e.g. in hppa_frame_cache (), after we've determined the address
> of the current frame, we can see if this is an "export stub" frame, and
> if so automatically rewind one more frame. i think this should work and
> shouldn't cause any problems.... thoughts?

I would certainly agree with that.

-- 
Joel


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