aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-11-30 13:50:27 -0700
committerTom Tromey <tromey@adacore.com>2022-12-01 11:40:12 -0700
commit4cb80f0e5bddc29cf50b08f0a4d2cca8ea330a23 (patch)
tree3c3195e39034bd64e48736203456405f163cc7ac /gdb
parent5f8363d9248f1864b58d329a2c734527c3713055 (diff)
downloadbinutils-4cb80f0e5bddc29cf50b08f0a4d2cca8ea330a23.zip
binutils-4cb80f0e5bddc29cf50b08f0a4d2cca8ea330a23.tar.gz
binutils-4cb80f0e5bddc29cf50b08f0a4d2cca8ea330a23.tar.bz2
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>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/windows-nat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 900d8c3..b3329cd 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -2877,7 +2877,6 @@ windows_nat_target::interrupt ()
DEBUG_EVENTS ("GenerateConsoleCtrlEvent (CTRLC_EVENT, 0)");
CHECK (GenerateConsoleCtrlEvent (CTRL_C_EVENT,
windows_process.current_event.dwProcessId));
- registers_changed (); /* refresh register state */
}
/* Helper for windows_xfer_partial that handles memory transfers.