mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
Remove call to registers_changed from windows-nat.c
I noticed that windows_nat_target::interrupt calls registers_changed. However, I don't think there's any reason to do this, because this will happen automatically when the inferior stop is processed. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -2877,7 +2877,6 @@ windows_nat_target::interrupt ()
|
|||||||
DEBUG_EVENTS ("GenerateConsoleCtrlEvent (CTRLC_EVENT, 0)");
|
DEBUG_EVENTS ("GenerateConsoleCtrlEvent (CTRLC_EVENT, 0)");
|
||||||
CHECK (GenerateConsoleCtrlEvent (CTRL_C_EVENT,
|
CHECK (GenerateConsoleCtrlEvent (CTRL_C_EVENT,
|
||||||
windows_process.current_event.dwProcessId));
|
windows_process.current_event.dwProcessId));
|
||||||
registers_changed (); /* refresh register state */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Helper for windows_xfer_partial that handles memory transfers.
|
/* Helper for windows_xfer_partial that handles memory transfers.
|
||||||
|
Reference in New Issue
Block a user