aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-10-01 23:51:43 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-10-01 23:51:43 +0000
commited348accac4b743e17e36d8f17cb77c9af323fe0 (patch)
tree4e8811d91d0be8dc46dc97a1458cd14cd74b8807
parenta581b5c30e2b6c6fb8e686a670447b6c58e3e395 (diff)
downloadgdb-ed348accac4b743e17e36d8f17cb77c9af323fe0.zip
gdb-ed348accac4b743e17e36d8f17cb77c9af323fe0.tar.gz
gdb-ed348accac4b743e17e36d8f17cb77c9af323fe0.tar.bz2
2002-10-01 Elena Zannoni <ezannoni@redhat.com>
* dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and GNU operators.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dwarf2read.c12
2 files changed, 17 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4aa6034..7ed7a0f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-01 Elena Zannoni <ezannoni@redhat.com>
+
+ * dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and
+ GNU operators.
+
2002-10-01 Andrew Cagney <ac131313@redhat.com>
* NEWS: Mention that MI syntax, selected by "mi" changed to "mi2"
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 4ef683c..b62b028 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -5961,6 +5961,18 @@ dwarf_stack_op_name (register unsigned op)
return "DW_OP_xderef_size";
case DW_OP_nop:
return "DW_OP_nop";
+ /* DWARF 3 extensions. */
+ case DW_OP_push_object_address:
+ return "DW_OP_push_object_address";
+ case DW_OP_call2:
+ return "DW_OP_call2";
+ case DW_OP_call4:
+ return "DW_OP_call4";
+ case DW_OP_call_ref:
+ return "DW_OP_call_ref";
+ /* GNU extensions. */
+ case DW_OP_GNU_push_tls_address:
+ return "DW_OP_GNU_push_tls_address";
default:
return "OP_<unknown>";
}