From 985cb1a3067462b75b51253443e562f2f63f0372 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 28 Feb 2002 11:21:16 +0000 Subject: [PATCH] * dwarf2read.c (dwarf_cfi_name): Add new codes. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e304aad31bf..ca99575984d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-02-28 Jason Merrill + + * dwarf2read.c (dwarf_cfi_name): Add new codes. + 2002-02-27 Fred Fish * blockframe.c (generic_fix_call_dummy): Fix obvious typo in diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 8889a307119..9dbcbde9cea 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_"; } -- 2.30.2