From b3f5b73ba4972d7d2b1456afe78e1c5a5540371b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 28 Oct 2011 18:27:46 +0000 Subject: [PATCH] * dwarf.c (display_debug_frames): If do_debug_frames_interp, DW_CFA_restore goes to DW_CFA_undefined, not DW_CFA_unreferenced. --- binutils/ChangeLog | 5 +++++ binutils/dwarf.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 61707e84292..1e3d1962ee8 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2011-10-28 Ian Lance Taylor + + * dwarf.c (display_debug_frames): If do_debug_frames_interp, + DW_CFA_restore goes to DW_CFA_undefined, not DW_CFA_unreferenced. + 2011-10-28 Walter Lee * NEWS: Mention addition of TILEPro and TILE-Gx support. diff --git a/binutils/dwarf.c b/binutils/dwarf.c index d89a861b556..11962461942 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; -- 2.30.2