From: Thiago Jung Bauermann <bauerman@br.ibm.com>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: Markus Deuling <deuling@de.ibm.com>,
GDB Patches <gdb-patches@sourceware.org>
Subject: Re: [rfc]: Replace current_gdbarch in sentinel-frame.c
Date: Fri, 15 Feb 2008 18:40:00 -0000 [thread overview]
Message-ID: <1203100829.28012.6.camel@localhost.localdomain> (raw)
In-Reply-To: <200802151743.m1FHhsnE027334@d12av02.megacenter.de.ibm.com>
On Fri, 2008-02-15 at 18:43 +0100, Ulrich Weigand wrote:
> Markus Deuling wrote:
>
> > @@ -54,7 +54,7 @@ sentinel_frame_prev_register (struct fra
> > onto the corresponding hardware register. */
> > *optimized = 0;
> > *lvalp = lval_register;
> > - *addrp = register_offset_hack (current_gdbarch, regnum);
> > + *addrp = register_offset_hack (get_frame_arch (next_frame), regnum);
> > *realnum = regnum;
>
> 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.
--
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center
next prev parent reply other threads:[~2008-02-15 18:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-15 9:27 Markus Deuling
2008-02-15 17:44 ` Michael Snyder
2008-02-15 17:51 ` Michael Snyder
2008-02-15 17:44 ` Ulrich Weigand
2008-02-15 18:40 ` Thiago Jung Bauermann [this message]
2008-02-15 18:59 ` Ulrich Weigand
2008-02-18 15:28 ` Markus Deuling
2008-02-18 16:05 ` Ulrich Weigand
2008-02-18 16:38 ` Markus Deuling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1203100829.28012.6.camel@localhost.localdomain \
--to=bauerman@br.ibm.com \
--cc=deuling@de.ibm.com \
--cc=gdb-patches@sourceware.org \
--cc=uweigand@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox