OSDN Git Service

gcc:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Feb 2011 12:32:11 +0000 (12:32 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Feb 2011 12:32:11 +0000 (12:32 +0000)
commit967276008a1974ea1b2fe4d7503129ae0b7c43fe
treeb71f453cc48f11afb05ba82b07f71ae7d74a6c58
parenta289020714f3da8ce2d1be8f1b21b1db81ba4de0
gcc:
PR ada/41929
* config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h>
(IS_SIGHANDLER): Define.
(sparc64_is_sighandler): New function, split off from
sparc64_fallback_frame_state.
(sparc_is_sighandler): New function, split off from
sparc_fallback_frame_state.
(sparc64_fallback_frame_state): Merge with ...
(sparc_fallback_frame_state): ... this into ...
(MD_FALLBACK_FRAME_STATE_FOR): ... this.
Change new_cfa to long.
Remove regs_off, fpu_save_off, fpu_save.
Define nframes, mctx.
Use IS_SIGHANDLER, handler_args, mctx, walk stack instead of
hardcoded offsets.

gcc/testsuite:
PR ada/41929
* gnat.dg/null_pointer_deref1.exp: Don't skip on
sparc*-sun-solaris2.11.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170126 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sparc/sol2-unwind.h
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/null_pointer_deref1.adb