* dwarf2read.c (dwarf_cfi_name): Add new codes.
authorJason Merrill <jason@redhat.com>
Thu, 28 Feb 2002 11:21:16 +0000 (11:21 +0000)
committerJason Merrill <jason@redhat.com>
Thu, 28 Feb 2002 11:21:16 +0000 (11:21 +0000)
gdb/ChangeLog
gdb/dwarf2read.c

index e304aad31bfb94198f9c641d0d0f2d5924f8a582..ca99575984da424575d1ad215fbfdb2ccf2ec641 100644 (file)
@@ -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
index 8889a307119edb73afe67b86656eff2b0bdd5516..9dbcbde9cea9d2b3d65f90531c4acb91bf90b058 100644 (file)
@@ -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>";
     }