Browse Source

Fix small indentation error in last commit

binutils-2_24-branch
Pierre Muller 13 years ago
parent
commit
7126d5c82e
  1. 4
      gdb/windows-nat.c

4
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;

Loading…
Cancel
Save