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:
Tom Tromey 1999-09-27 21:16:40 +00:00 committed by Tom Tromey
parent 9e28024a9b
commit 8c14177ca8
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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]; \