Skip to content

Commit 4cb80f0

Browse files
committed
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 <[email protected]>
1 parent 5f8363d commit 4cb80f0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gdb/windows-nat.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2877,7 +2877,6 @@ windows_nat_target::interrupt ()
28772877
DEBUG_EVENTS ("GenerateConsoleCtrlEvent (CTRLC_EVENT, 0)");
28782878
CHECK (GenerateConsoleCtrlEvent (CTRL_C_EVENT,
28792879
windows_process.current_event.dwProcessId));
2880-
registers_changed (); /* refresh register state */
28812880
}
28822881

28832882
/* Helper for windows_xfer_partial that handles memory transfers.

0 commit comments

Comments
 (0)