aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2002-02-28 11:21:16 +0000
committerJason Merrill <jason@redhat.com>2002-02-28 11:21:16 +0000
commit985cb1a3067462b75b51253443e562f2f63f0372 (patch)
treed6e634bed1a9d4e377e7375b4519806d912747e8
parent3d81f391161e0680a8beeb441a09d3086640a738 (diff)
downloadgdb-985cb1a3067462b75b51253443e562f2f63f0372.zip
gdb-985cb1a3067462b75b51253443e562f2f63f0372.tar.gz
gdb-985cb1a3067462b75b51253443e562f2f63f0372.tar.bz2
* dwarf2read.c (dwarf_cfi_name): Add new codes.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c22
2 files changed, 26 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e304aad..ca99575 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-28 Jason Merrill <jason@redhat.com>
+
+ * dwarf2read.c (dwarf_cfi_name): Add new codes.
+
2002-02-27 Fred Fish <fnf@redhat.com>
* blockframe.c (generic_fix_call_dummy): Fix obvious typo in
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 8889a30..9dbcbde 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -5603,9 +5603,31 @@ dwarf_cfi_name (register unsigned cfi_opc)
return "DW_CFA_def_cfa_register";
case DW_CFA_def_cfa_offset:
return "DW_CFA_def_cfa_offset";
+
+ /* DWARF 3 */
+ case DW_CFA_def_cfa_expression:
+ return "DW_CFA_def_cfa_expression";
+ case DW_CFA_expression:
+ return "DW_CFA_expression";
+ case DW_CFA_offset_extended_sf:
+ return "DW_CFA_offset_extended_sf";
+ case DW_CFA_def_cfa_sf:
+ return "DW_CFA_def_cfa_sf";
+ case DW_CFA_def_cfa_offset_sf:
+ return "DW_CFA_def_cfa_offset_sf";
+
/* SGI/MIPS specific */
case DW_CFA_MIPS_advance_loc8:
return "DW_CFA_MIPS_advance_loc8";
+
+ /* GNU extensions */
+ case DW_CFA_GNU_window_save:
+ return "DW_CFA_GNU_window_save";
+ case DW_CFA_GNU_args_size:
+ return "DW_CFA_GNU_args_size";
+ case DW_CFA_GNU_negative_offset_extended:
+ return "DW_CFA_GNU_negative_offset_extended";
+
default:
return "DW_CFA_<unknown>";
}