From: Mark Kettenis <kettenis@gnu.org>
To: gdb-patches@sources.redhat.com
Subject: [COMMIT] Fix decoding CIE's in DWARF frame info
Date: Fri, 05 Nov 2004 15:43:00 -0000 [thread overview]
Message-ID: <200411051543.iA5Fh1nK020633@juw15.nfra.nl> (raw)
The old code didn't take into account that the encoding used to
specify the personality routine in the augmentation could be
DW_PE_EH_aligned.
Fixed by the attach patch.
Committed to mainline. I'll commit this to the branch later today.
Cheers,
Mark
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.6577
diff -u -p -r1.6577 ChangeLog
--- ChangeLog 5 Nov 2004 08:53:18 -0000 1.6577
+++ ChangeLog 5 Nov 2004 15:12:42 -0000
@@ -1,3 +1,8 @@
+2004-11-05 Mark Kettenis <kettenis@jive.nl>
+
+ * dwarf2-frame.c (decode_frame_entry_1): Correctly skip
+ personality routine in a CIE augmentation.
+
2004-11-05 Felix Lee <felix+log1@specifixinc.com>
* stack.c (set_current_sal_from_frame): New function.
Index: dwarf2-frame.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2-frame.c,v
retrieving revision 1.41
diff -u -p -r1.41 dwarf2-frame.c
--- dwarf2-frame.c 4 Nov 2004 21:15:15 -0000 1.41
+++ dwarf2-frame.c 5 Nov 2004 15:12:42 -0000
@@ -1381,7 +1381,9 @@ decode_frame_entry_1 (struct comp_unit *
else if (*augmentation == 'P')
{
/* Skip. */
- buf += size_of_encoded_value (*buf++);
+ unsigned char encoding = *buf++;
+ read_encoded_value (unit, encoding, buf, &bytes_read);
+ buf += bytes_read;
augmentation++;
}
next reply other threads:[~2004-11-05 15:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-05 15:43 Mark Kettenis [this message]
2004-11-05 17:00 ` Andrew Cagney
2004-11-05 18:54 ` Mark Kettenis
2004-11-05 19:12 ` Daniel Jacobowitz
2004-11-05 20:37 ` Mark Kettenis
2004-11-05 20:41 ` Daniel Jacobowitz
2004-11-05 20:53 ` Mark Kettenis
2004-11-05 21:22 ` Andrew Cagney
2004-11-05 21:25 ` Daniel Jacobowitz
2004-11-05 22:00 ` Mark Kettenis
2004-11-05 22:11 ` 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=200411051543.iA5Fh1nK020633@juw15.nfra.nl \
--to=kettenis@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