This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc]: Replace current_gdbarch in sentinel-frame.c
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: bauerman at br dot ibm dot com (Thiago Jung Bauermann)
- Cc: deuling at de dot ibm dot com (Markus Deuling), gdb-patches at sourceware dot org (GDB Patches)
- Date: Fri, 15 Feb 2008 19:58:57 +0100 (CET)
- Subject: Re: [rfc]: Replace current_gdbarch in sentinel-frame.c
Thiago Jung Bauermann wrote:
> On Fri, 2008-02-15 at 18:43 +0100, Ulrich Weigand wrote:
> > This is not OK -- as the sentinel frame is always the innermost
> > frame, next_frame will always be NULL here.
>
> Actually, what I observe here when running GDB is that next_frame is the
> sentinel frame, probably because sentinel frame's next field points back
> to itself.
Ah, right, I forgot about that. Still, it seems best to try to get
rid of this hack completely ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com