re GNATS libgcj/261 (Macro-inconsistency)

Fix for PR libgcj/261:
	* include/win32-signal.h (MAKE_THROW_FRAME): Added `_exception'
	argument.
	* include/sparc-signal.h (MAKE_THROW_FRAME): Added `_exception'
	argument.  (This is a patch from long ago that somehow went
	missing.)

From-SVN: r34575
This commit is contained in:
Tom Tromey 2000-06-16 15:52:24 +00:00 committed by Tom Tromey
parent bf3428d0b6
commit 3fff847575
3 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2000-06-16 Tom Tromey <tromey@cygnus.com>
Fix for PR libgcj/261:
* include/win32-signal.h (MAKE_THROW_FRAME): Added `_exception'
argument.
* include/sparc-signal.h (MAKE_THROW_FRAME): Added `_exception'
argument. (This is a patch from long ago that somehow went
missing.)
2000-06-15 Tom Tromey <tromey@cygnus.com>
* gnu/gcj/convert/natIconv.cc (iconv_adapter): New function.

View File

@ -1,6 +1,6 @@
// sparc-signal.h - Catch runtime signals and turn them into exceptions.
/* Copyright (C) 1998, 1999 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
This file is part of libgcj.
@ -23,7 +23,7 @@ static void _name (int _dummy, siginfo_t *_info, void *arg)
#define FLUSH_REGISTER_WINDOWS \
asm volatile ("ta 3");
#define MAKE_THROW_FRAME \
#define MAKE_THROW_FRAME(_exception) \
do \
{ \
ucontext_t *_context = (ucontext_t *) arg; \

View File

@ -1,6 +1,6 @@
// win32-signal.h - Catch runtime signals and turn them into exceptions.
/* Copyright (C) 1998, 1999 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
This file is part of libgcj.
@ -20,7 +20,7 @@ details. */
#define SIGNAL_HANDLER(_name) \
static void _name (int _dummy)
#define MAKE_THROW_FRAME do {} while (0)
#define MAKE_THROW_FRAME(_exception) do {} while (0)
#define HANDLE_DIVIDE_OVERFLOW do {} while (0)
#define INIT_SEGV \