From a536e46e1a8c05cf3690cb07013996982578b15a Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 10 Apr 2010 00:34:05 +0000 Subject: [PATCH] backport: re PR ada/41912 (FAIL: gnat.dg/null_pointer_deref1.adb execution test) Backport from mainline: 2009-12-05 John David Anglin PR ada/41912 * pa/linux-unwind.h (pa32_fallback_frame_state): Set fs->signal_frame for signal frames. * pa/hpux-unwind.h (pa32_fallback_frame_state): Likewise. From-SVN: r158183 --- gcc/ChangeLog | 10 ++++++++++ gcc/config/pa/hpux-unwind.h | 1 + gcc/config/pa/linux-unwind.h | 1 + 3 files changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b23577921bf9..b5934b011876 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2010-04-09 John David Anglin + + Backport from mainline: + 2009-12-05 John David Anglin + + PR ada/41912 + * pa/linux-unwind.h (pa32_fallback_frame_state): Set fs->signal_frame + for signal frames. + * pa/hpux-unwind.h (pa32_fallback_frame_state): Likewise. + 2010-03-31 Uros Bizjak Backport from mainline: diff --git a/gcc/config/pa/hpux-unwind.h b/gcc/config/pa/hpux-unwind.h index 474c46d38433..464a31b6c30e 100644 --- a/gcc/config/pa/hpux-unwind.h +++ b/gcc/config/pa/hpux-unwind.h @@ -355,6 +355,7 @@ pa_fallback_frame_state (struct _Unwind_Context *context, fs->retaddr_column = DWARF_ALT_FRAME_RETURN_COLUMN; UPDATE_FS_FOR_PC (fs, DWARF_ALT_FRAME_RETURN_COLUMN); + fs->signal_frame = 1; return _URC_NO_REASON; } diff --git a/gcc/config/pa/linux-unwind.h b/gcc/config/pa/linux-unwind.h index 812561e4e498..c6fda5cd7b15 100644 --- a/gcc/config/pa/linux-unwind.h +++ b/gcc/config/pa/linux-unwind.h @@ -138,6 +138,7 @@ pa32_fallback_frame_state (struct _Unwind_Context *context, fs->regs.reg[DWARF_ALT_FRAME_RETURN_COLUMN].loc.offset = (long) &sc->sc_iaoq[0] - new_cfa; fs->retaddr_column = DWARF_ALT_FRAME_RETURN_COLUMN; + fs->signal_frame = 1; return _URC_NO_REASON; } #endif /* inhibit_libc */ -- 2.47.2