diff options
author | Tom Tromey <tromey@cygnus.com> | 1999-09-27 21:16:40 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 1999-09-27 21:16:40 +0000 |
commit | 8c14177ca8713954c353e8651c11b59e85cd0c61 (patch) | |
tree | a6d3e45c1b7aedebf1a2bb9108ce2002098e2c9b /libjava/include/sparc-signal.h | |
parent | 9e28024a9b6761b4b19c41c1d263273132671d11 (diff) | |
download | gcc-8c14177ca8713954c353e8651c11b59e85cd0c61.zip gcc-8c14177ca8713954c353e8651c11b59e85cd0c61.tar.gz gcc-8c14177ca8713954c353e8651c11b59e85cd0c61.tar.bz2 |
sparc-signal.h (SIGNAL_HANDLER): Third argument now a `void *'.
* include/sparc-signal.h (SIGNAL_HANDLER): Third argument now a
`void *'.
(MAKE_THROW_FRAME): Cast third argument back to `ucontext_t *'.
From-SVN: r29682
Diffstat (limited to 'libjava/include/sparc-signal.h')
-rw-r--r-- | libjava/include/sparc-signal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libjava/include/sparc-signal.h b/libjava/include/sparc-signal.h index b2464c4..e733da2 100644 --- a/libjava/include/sparc-signal.h +++ b/libjava/include/sparc-signal.h @@ -18,7 +18,7 @@ details. */ #define HANDLE_FPE 1 #define SIGNAL_HANDLER(_name) \ -static void _name (int _dummy, siginfo_t *_info, ucontext_t *_context) +static void _name (int _dummy, siginfo_t *_info, void *arg) #define FLUSH_REGISTER_WINDOWS \ asm volatile ("ta 3"); @@ -26,6 +26,7 @@ static void _name (int _dummy, siginfo_t *_info, ucontext_t *_context) #define MAKE_THROW_FRAME \ do \ { \ + ucontext_t *_context = (ucontext_t *) arg; \ (void)_dummy; \ (void)_info; \ register int sp = _context->uc_mcontext.gregs[REG_SP]; \ |