aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2013-09-02 13:11:13 +0000
committerPierre Muller <muller@sourceware.org>2013-09-02 13:11:13 +0000
commit7126d5c82e6582701b875ad0133423dbd02d62b0 (patch)
tree9acbf458c509be5176e26bf5eb4428ac55e1dd1a /gdb/windows-nat.c
parent9e52adf9c624da6ad0c37861c2222bd7fd9a8d2c (diff)
downloadgdb-7126d5c82e6582701b875ad0133423dbd02d62b0.zip
gdb-7126d5c82e6582701b875ad0133423dbd02d62b0.tar.gz
gdb-7126d5c82e6582701b875ad0133423dbd02d62b0.tar.bz2
Fix small indentation error in last commit
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c4
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;