diff options
author | Pedro Alves <palves@redhat.com> | 2007-12-02 23:40:17 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2007-12-02 23:40:17 +0000 |
commit | e7b5fa67ed43850d6e993ec8ca8c4b23d018d121 (patch) | |
tree | edd6652a87da46ef682e2d821265c3719cdd22b8 /gdb/gdbserver/win32-low.c | |
parent | a385171d78e7e1ade74fc9e7358a021c12a91ac6 (diff) | |
download | gdb-e7b5fa67ed43850d6e993ec8ca8c4b23d018d121.zip gdb-e7b5fa67ed43850d6e993ec8ca8c4b23d018d121.tar.gz gdb-e7b5fa67ed43850d6e993ec8ca8c4b23d018d121.tar.bz2 |
* win32-low.c (win32_wait): Don't read from the inferior when it
has already exited.
Diffstat (limited to 'gdb/gdbserver/win32-low.c')
-rw-r--r-- | gdb/gdbserver/win32-low.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c index 1d3c617..188d555 100644 --- a/gdb/gdbserver/win32-low.c +++ b/gdb/gdbserver/win32-low.c @@ -1390,9 +1390,6 @@ win32_wait (char *status) our_status.value.integer)); *status = 'W'; - - child_fetch_inferior_registers (-1); - return our_status.value.integer; case TARGET_WAITKIND_STOPPED: case TARGET_WAITKIND_LOADED: |