This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Infinite backtraces...
> if hppa_stub_frame_prev_register() doesn't set anything?
>
> You added "if (info) then hppa_frame_prev ().". Could it ever happen
> that info is NULL?
i haven't seen it hit that case; i think since this_id is null_frame_id
in this case it will not query the frame for registers. should i fill
in dummy values just in case?
> One thing that I'm thinking is that this will no longer stop the
> backtrace once your change to hide the stubs goes in (except in
> the very unlikely case when we're inside the initial stub). Is it
> still worth including this patch under these conditions?
why is that? even with my export stub change this is still applicable to
your threading case....
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/