aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2009-12-05 17:45:59 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2009-12-05 17:45:59 +0000
commit263116c26162e8d9c4ef0f2b93ca22584394e410 (patch)
tree57d92d555901a70b6afb5e369fba753b181e5fde /gcc
parent43e02a8a712eb5868cc992e7c2413a16ae72e037 (diff)
downloadgcc-263116c26162e8d9c4ef0f2b93ca22584394e410.zip
gcc-263116c26162e8d9c4ef0f2b93ca22584394e410.tar.gz
gcc-263116c26162e8d9c4ef0f2b93ca22584394e410.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/pa/hpux-unwind.h1
-rw-r--r--gcc/config/pa/linux-unwind.h1
3 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9120e1c..a250252 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2009-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ 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 <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.
diff --git a/gcc/config/pa/hpux-unwind.h b/gcc/config/pa/hpux-unwind.h
index cfce90b..92061ec 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 733f772..a0560e9 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 */