diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-10-28 18:27:46 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-10-28 18:27:46 +0000 |
commit | b3f5b73ba4972d7d2b1456afe78e1c5a5540371b (patch) | |
tree | a861c02d9ee0278fdd54c66a2a015613427e17c6 /binutils/dwarf.c | |
parent | 3a3dad982f5399fb86a5ea5a7fb1ba203c3c03e0 (diff) | |
download | gdb-b3f5b73ba4972d7d2b1456afe78e1c5a5540371b.zip gdb-b3f5b73ba4972d7d2b1456afe78e1c5a5540371b.tar.gz gdb-b3f5b73ba4972d7d2b1456afe78e1c5a5540371b.tar.bz2 |
* dwarf.c (display_debug_frames): If do_debug_frames_interp,
DW_CFA_restore goes to DW_CFA_undefined, not DW_CFA_unreferenced.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index d89a861..1196246 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -5110,6 +5110,9 @@ display_debug_frames (struct dwarf_section *section, { fc->col_type[opa] = cie->col_type[opa]; fc->col_offset[opa] = cie->col_offset[opa]; + if (do_debug_frames_interp + && fc->col_type[opa] == DW_CFA_unreferenced) + fc->col_type[opa] = DW_CFA_undefined; } break; |