2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
authorPierre Muller <muller@sourceware.org>
Wed, 6 Feb 2002 09:14:50 +0000 (09:14 +0000)
committerPierre Muller <muller@sourceware.org>
Wed, 6 Feb 2002 09:14:50 +0000 (09:14 +0000)
commit7393af7c90e44987e82f41be0692ec4c19620595
tree0452e3ef707a425cb14b39d55e1ede7767dbfd53
parent6b32719e57e725200d1194e92ca43b239e9e01da
2002-02-05  Pierre Muller  <muller@ics.u-strasbg.fr>

win32-nat.c (last_sig): Changed type of variable to target_signal,
to allow easier handling of pass state.
(DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
that gives exception name and address.
(handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
and set last_sig value to ourstatus->value.sig. Some missing
exceptions added.
(child_continue): Correctly report continue_status.
(get_child_debug_event,do_initial_child_stuff): Set last_sig to
TARGET_SIGNAL_0 (new default value).
(child_resume): consider sig argument passed to decide if
the exception should be passed to debuggee or not.
gdb/ChangeLog
gdb/win32-nat.c
gdb/windows-nat.c