From: Andrew Cagney <cagney@gnu.org>
To: gdb-patches@sources.redhat.com
Subject: [commit] Fix an off-by-one frame bug
Date: Fri, 19 Mar 2004 00:09:00 -0000 [thread overview]
Message-ID: <4058E300.4030405@gnu.org> (raw)
Message-ID: <20040319000900.66wcyYW0Si6iNEgmxHzDGENswcd1l9pLtQmixogBRz8@z> (raw)
[-- Attachment #1: Type: text/plain, Size: 159 bytes --]
FYI,
Spotted this think-o. It only affects an architecture part way through
a frame conversion (which would explain why no one noticed).
committed,
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 869 bytes --]
2004-03-17 Andrew Cagney <cagney@redhat.com>
* frame.c (legacy_get_prev_frame): Pass correct frame to
frame_unwind_find_by_frame.
Index: frame.c
===================================================================
RCS file: /cvs/src/src/gdb/frame.c,v
retrieving revision 1.162
diff -u -r1.162 frame.c
--- frame.c 16 Feb 2004 21:49:21 -0000 1.162
+++ frame.c 17 Mar 2004 23:42:39 -0000
@@ -1493,7 +1493,7 @@
to the new frame code. Implement FRAME_CHAIN the way the
new frame will. */
/* Find PREV frame's unwinder. */
- prev->unwind = frame_unwind_find_by_frame (this_frame->next);
+ prev->unwind = frame_unwind_find_by_frame (this_frame);
/* FIXME: cagney/2003-04-02: Rather than storing the frame's
type in the frame, the unwinder's type should be returned
directly. Unfortunately, legacy code, called by
next reply other threads:[~2004-03-17 23:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-17 23:45 Andrew Cagney [this message]
2004-03-19 0:09 ` Andrew Cagney
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=4058E300.4030405@gnu.org \
--to=cagney@gnu.org \
--cc=gdb-patches@sources.redhat.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