[Patch]: objdump/readelf: handle GNAT descriptive type attribute
Tristan Gingold
gingold@adacore.com
Wed Jan 13 13:45:00 GMT 2010
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";
--
More information about the Binutils
mailing list