From 263116c26162e8d9c4ef0f2b93ca22584394e410 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 5 Dec 2009 17:45:59 +0000 Subject: [PATCH] re PR ada/41912 (FAIL: gnat.dg/null_pointer_deref1.adb execution test) 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: r155013 --- gcc/ChangeLog | 7 +++++++ gcc/config/pa/hpux-unwind.h | 1 + gcc/config/pa/linux-unwind.h | 1 + 3 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9120e1cfb06..a2502524832 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +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. + 2009-12-05 Ralf Wildenhues * configure: Regenerate. diff --git a/gcc/config/pa/hpux-unwind.h b/gcc/config/pa/hpux-unwind.h index cfce90be6ba..92061ec3677 100644 --- a/gcc/config/pa/hpux-unwind.h +++ b/gcc/config/pa/hpux-unwind.h @@ -351,6 +351,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 733f772c1c7..a0560e97445 100644 --- a/gcc/config/pa/linux-unwind.h +++ b/gcc/config/pa/linux-unwind.h @@ -135,6 +135,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 */