Commit 8c14177c by Tom Tromey Committed by Tom Tromey

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
parent 9e28024a
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]; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment