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
This commit is contained in:
parent
9e28024a9b
commit
8c14177ca8
@ -1,5 +1,9 @@
|
||||
1999-09-24 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* include/sparc-signal.h (SIGNAL_HANDLER): Third argument now a
|
||||
`void *'.
|
||||
(MAKE_THROW_FRAME): Cast third argument back to `ucontext_t *'.
|
||||
|
||||
Fix for PR java.util/47:
|
||||
* configure, include/config.h: Rebuilt.
|
||||
* configure.in: Don't look for ctime or ctime_r.
|
||||
|
@ -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]; \
|
||||
|
Loading…
Reference in New Issue
Block a user