summaryrefslogtreecommitdiff
path: root/gcc/config
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/config
parent43e02a8a712eb5868cc992e7c2413a16ae72e037 (diff)
downloadgcc-263116c26162e8d9c4ef0f2b93ca22584394e410.tar.gz
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/config')
-rw-r--r--gcc/config/pa/hpux-unwind.h1
-rw-r--r--gcc/config/pa/linux-unwind.h1
2 files changed, 2 insertions, 0 deletions
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 */