diff options
author | Pierre Muller <muller@ics.u-strasbg.fr> | 2002-02-05 08:04:22 +0000 |
---|---|---|
committer | Pierre Muller <muller@ics.u-strasbg.fr> | 2002-02-05 08:04:22 +0000 |
commit | 705984216d8d6ddb3e3ad7f9e2955177023ab8d7 (patch) | |
tree | 60575404d2907a5570db250122cadb32dc660ccb /gdb/win32-nat.c | |
parent | 7dd3c5b581669d93e04f2cda4ffed2ae1a4bdf8e (diff) | |
download | gdb-705984216d8d6ddb3e3ad7f9e2955177023ab8d7.tar.gz |
2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
win32-nat.c (handle_exception): Handle Ctrl-Break exception.
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r-- | gdb/win32-nat.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index f6895766e7a..fe1c01cf1c4 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -867,6 +867,12 @@ handle_exception (struct target_waitstatus *ourstatus) ourstatus->value.sig = TARGET_SIGNAL_INT; last_sig = SIGINT; /* FIXME - should check pass state */ break; + case DBG_CONTROL_BREAK: + DEBUG_EXCEPT (("gdb: Target exception CONTROL_BREAK at 0x%08lx\n", + (DWORD) current_event.u.Exception.ExceptionRecord.ExceptionAddress)); + ourstatus->value.sig = TARGET_SIGNAL_INT; + last_sig = SIGINT; /* FIXME - should check pass state */ + break; case EXCEPTION_SINGLE_STEP: DEBUG_EXCEPT (("gdb: Target exception SINGLE_STEP at 0x%08lx\n", (DWORD) current_event.u.Exception.ExceptionRecord.ExceptionAddress)); |