aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-03-18 09:01:10 -0600
committerTom Tromey <tromey@adacore.com>2021-03-18 12:08:41 -0600
commit15310fd4eb59093f0c394f7b3644a814b5422403 (patch)
tree70efc7e27dd648251836f302ce14ec40a1eab425 /gdb/ChangeLog
parent763b8efdcc0ab0f94f7af48792eb5c97b6eca41b (diff)
downloadfsf-binutils-gdb-15310fd4eb59093f0c394f7b3644a814b5422403.zip
fsf-binutils-gdb-15310fd4eb59093f0c394f7b3644a814b5422403.tar.gz
fsf-binutils-gdb-15310fd4eb59093f0c394f7b3644a814b5422403.tar.bz2
Reimplement dwarf_unit_type_name
I noticed that dwarf_unit_type_name is nearly identical to get_DW_UT_name from libiberty; but rather than simply replacing it, it seemed better to have it work like the other DWARF constant stringification functions -- return a string showing unrecognized numeric forms rather than nullptr. (The previous code did include numeric values for the recognized constants, but this seems to be not that useful to me.) 2021-03-18 Tom Tromey <tromey@adacore.com> * dwarf2/stringify.c (dwarf_unit_type_name): New function. Use get_DW_UT_name. * dwarf2/stringify.h (dwarf_unit_type_name): Declare. * dwarf2/comp-unit.c (dwarf_unit_type_name): Remove.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 09cfe0f..11e9ea9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2021-03-18 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2/stringify.c (dwarf_unit_type_name): New function. Use
+ get_DW_UT_name.
+ * dwarf2/stringify.h (dwarf_unit_type_name): Declare.
+ * dwarf2/comp-unit.c (dwarf_unit_type_name): Remove.
+
2021-03-18 Andrew Burgess <andrew.burgess@embecosm.com>
* python/py-param.c (get_set_value): Update header comment.