summaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2013-09-02 12:45:55 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2013-09-02 12:45:55 +0000
commit49ba0b8e63c5c5de77448653094468dc5111b80d (patch)
tree35a8f6b5f5ea9d15ef523e397ada6f62b3e0cb64 /gdb/windows-nat.c
parent75752de842b353feabbd52821e2f504613398b0d (diff)
downloadgdb-49ba0b8e63c5c5de77448653094468dc5111b80d.tar.gz
* windows-nat.c (windows_xfer_memory): Fix compilation failure
by use of plongest function.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 2ffaad4368e..28705f7fd40 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -2327,8 +2327,8 @@ windows_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf,
if (writebuf != NULL)
{
- DEBUG_MEM (("gdb: write target memory, %d bytes at %s\n",
- len, core_addr_to_string (memaddr)));
+ DEBUG_MEM (("gdb: write target memory, %s bytes at %s\n",
+ plongest (len), core_addr_to_string (memaddr)));
success = WriteProcessMemory (current_process_handle,
(LPVOID) (uintptr_t) memaddr, writebuf,
len, &done);
@@ -2337,8 +2337,8 @@ windows_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf,
}
else
{
- DEBUG_MEM (("gdb: read target memory, %d bytes at %s\n",
- len, core_addr_to_string (memaddr)));
+ DEBUG_MEM (("gdb: read target memory, %s bytes at %s\n",
+ plongest (len), core_addr_to_string (memaddr)));
success = ReadProcessMemory (current_process_handle,
(LPCVOID) (uintptr_t) memaddr, readbuf,
len, &done);