This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
FYI: fixup GNU_callsite strings
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 17 May 2011 16:21:52 +0200
- Subject: FYI: fixup GNU_callsite strings
Hi,
I messed up the GNU_call_site TAG strings when I added the support. Here
is the trivial fix that I pushed.
Cheers,
Mark
commit 69a9b11d3e553f1217ed65a14540ff4ff16bb6ab
Author: Mark Wielaard <mjw@redhat.com>
Date: Tue May 17 15:34:02 2011 +0200
dwarf_tag_string fixup GNU_call_site and GNU_call_site_parameter strings.
diff --git a/src/ChangeLog b/src/ChangeLog
index 91e5d37..4de8162 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-17 Mark Wielaard <mjw@redhat.com>
+
+ * readelf.c (dwarf_tag_string): Fixup DW_TAG_GNU_call_site and
+ DW_TAG_GNU_call_site_parameter return strings.
+
2011-05-11 Marek Polacek <mpolacek@redhat.com>
* nm.c (show_symbols_sysv): Remove unused if/else, remove
diff --git a/src/readelf.c b/src/readelf.c
index 887c9cc..72be502 100644
--- a/src/readelf.c
+++ b/src/readelf.c
@@ -3298,11 +3298,11 @@ dwarf_tag_string (unsigned int tag)
break;
case DW_TAG_GNU_call_site:
- result = "DW_TAG_GNU_call_site";
+ result = "GNU_call_site";
break;
case DW_TAG_GNU_call_site_parameter:
- result = "DW_TAG_GNU_call_site_parameter";
+ result = "GNU_call_site_parameter";
break;
default: