This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: backtrace/2001: list command displays wrong source after a backtrace or where command
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 30 Aug 2005 17:08:01 -0000
- Subject: Re: backtrace/2001: list command displays wrong source after a backtrace or where command
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR backtrace/2001; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: andrew.stubbs@st.com
Cc: gdb-gnats@sources.redhat.com, antony.king@st.com
Subject: Re: backtrace/2001: list command displays wrong source after a backtrace or where command
Date: Tue, 30 Aug 2005 13:03:05 -0400
On Tue, Aug 30, 2005 at 04:56:42PM -0000, andrew.stubbs@st.com wrote:
> The (first) list command is supposed to show the code position in the
> current context, isn't it?
>
> However, immediately following a backtrace or where command it
> actually shows the position in frame #0. This is despite the frame
> command (with no parameters) reporting the correct frame.
Try with GDB CVS, please. This should be fixed some months ago.
--
Daniel Jacobowitz
CodeSourcery, LLC