* windows-nat.c (windows_xfer_memory): Fix compilation failure
by use of plongest function.
This commit is contained in:
parent
c8094e012c
commit
a238856838
|
@ -1,3 +1,8 @@
|
||||||
|
2013-09-02 Pierre Muller <muller@sourceware.org>
|
||||||
|
|
||||||
|
* windows-nat.c (windows_xfer_memory): Fix compilation failure
|
||||||
|
by use of plongest function.
|
||||||
|
|
||||||
2013-09-02 Tristan Gingold <gingold@adacore.com>
|
2013-09-02 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* NEWS: Add entry mentioning support for native Windows x64
|
* NEWS: Add entry mentioning support for native Windows x64
|
||||||
|
|
|
@ -2327,8 +2327,8 @@ windows_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf,
|
||||||
|
|
||||||
if (writebuf != NULL)
|
if (writebuf != NULL)
|
||||||
{
|
{
|
||||||
DEBUG_MEM (("gdb: write target memory, %d bytes at %s\n",
|
DEBUG_MEM (("gdb: write target memory, %s bytes at %s\n",
|
||||||
len, core_addr_to_string (memaddr)));
|
plongest (len), core_addr_to_string (memaddr)));
|
||||||
success = WriteProcessMemory (current_process_handle,
|
success = WriteProcessMemory (current_process_handle,
|
||||||
(LPVOID) (uintptr_t) memaddr, writebuf,
|
(LPVOID) (uintptr_t) memaddr, writebuf,
|
||||||
len, &done);
|
len, &done);
|
||||||
|
@ -2337,8 +2337,8 @@ windows_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DEBUG_MEM (("gdb: read target memory, %d bytes at %s\n",
|
DEBUG_MEM (("gdb: read target memory, %s bytes at %s\n",
|
||||||
len, core_addr_to_string (memaddr)));
|
plongest (len), core_addr_to_string (memaddr)));
|
||||||
success = ReadProcessMemory (current_process_handle,
|
success = ReadProcessMemory (current_process_handle,
|
||||||
(LPCVOID) (uintptr_t) memaddr, readbuf,
|
(LPCVOID) (uintptr_t) memaddr, readbuf,
|
||||||
len, &done);
|
len, &done);
|
||||||
|
|
Loading…
Reference in New Issue