This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Patch]: objdump/readelf: handle GNAT descriptive type attribute
- From: Tristan Gingold <gingold at adacore dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Wed, 13 Jan 2010 14:46:01 +0100
- Subject: [Patch]: objdump/readelf: handle GNAT descriptive type attribute
Hi,
now that these two attributes are in include/dwarf2.h, it's time to correctly display them!
Ok to commit ?
Tristan.
binutils/
2010-01-13 Tristan Gingold <gingold@adacore.com>
* dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
and DW_AT_GNAT_descriptive_type.
---
binutils/dwarf.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index eb6c2d7..93eb15a 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -1802,6 +1802,8 @@ get_AT_name (unsigned long attribute)
case DW_AT_GNU_exclusive_locks_required: return "DW_AT_GNU_exclusive_locks_required";
case DW_AT_GNU_shared_locks_required: return "DW_AT_GNU_shared_locks_required";
case DW_AT_GNU_odr_signature: return "DW_AT_GNU_odr_signature";
+ case DW_AT_use_GNAT_descriptive_type: return "DW_AT_use_GNAT_descriptive_type";
+ case DW_AT_GNAT_descriptive_type: return "DW_AT_GNAT_descriptive_type";
/* UPC extension. */
case DW_AT_upc_threads_scaled: return "DW_AT_upc_threads_scaled";
--