This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: Fix check for no-saved-pc
- From: Daniel Jacobowitz <drow at false dot org>
- To: Michael Snyder <msnyder at specifix dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 30 Nov 2007 18:00:45 -0500
- Subject: Re: RFA: Fix check for no-saved-pc
- References: <1196462431.2501.164.camel@localhost.localdomain>
On Fri, Nov 30, 2007 at 02:40:31PM -0800, Michael Snyder wrote:
> There's a check in get_prev_frame to see if the next saved pc
> is zero. I think it has an off-by-one error, and is checking
> for the pc of the wrong frame.
Mark K. and I have had roughly a month's worth of discussion on this
check over the last two years; it's where it is on purpose. Here's
the last conversation:
http://sourceware.org/ml/gdb-patches/2006-05/msg00196.html
http://sourceware.org/ml/gdb-patches/2006-07/msg00296.html
--
Daniel Jacobowitz
CodeSourcery