diff options
-rw-r--r-- | gdb/windows-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index a45b825..47594f1 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -2334,7 +2334,7 @@ windows_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf, (LPVOID) (uintptr_t) memaddr, writebuf, len, &done); if (!success) - lasterror = GetLastError (); + lasterror = GetLastError (); FlushInstructionCache (current_process_handle, (LPCVOID) (uintptr_t) memaddr, len); } @@ -2346,7 +2346,7 @@ windows_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf, (LPCVOID) (uintptr_t) memaddr, readbuf, len, &done); if (!success) - lasterror = GetLastError (); + lasterror = GetLastError (); } if (!success && lasterror == ERROR_PARTIAL_COPY && done > 0) return done; |