From ed348accac4b743e17e36d8f17cb77c9af323fe0 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Tue, 1 Oct 2002 23:51:43 +0000 Subject: 2002-10-01 Elena Zannoni * dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and GNU operators. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2read.c | 12 ++++++++++++ 2 files changed, 17 insertions(+) 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 + + * dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and + GNU operators. + 2002-10-01 Andrew Cagney * 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_"; } -- cgit v1.1