aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-03-20 08:51:06 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-03-20 08:51:06 +0000
commit35a7120b8ccbd9e58daf8a9d108923a8cf4fdc98 (patch)
tree8a60d3853c9512c3166649cc45ec92342c6dfd5d /gdb/windows-nat.c
parent8877b5e517baa355c68568e7c5e3ed01d277254a (diff)
downloadgdb-35a7120b8ccbd9e58daf8a9d108923a8cf4fdc98.zip
gdb-35a7120b8ccbd9e58daf8a9d108923a8cf4fdc98.tar.gz
gdb-35a7120b8ccbd9e58daf8a9d108923a8cf4fdc98.tar.bz2
* windows-nat.c (handle_output_debug_string): Replace call
to string_to_core_addr with call to strtoull.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 16ee785..e648d5f 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -978,7 +978,7 @@ handle_output_debug_string (struct target_waitstatus *ourstatus)
retval = strtoul (p, &p, 0);
if (!retval)
retval = main_thread_id;
- else if ((x = (LPCVOID) string_to_core_addr (p))
+ else if ((x = (LPCVOID) strtoull (p, NULL, 0))
&& ReadProcessMemory (current_process_handle, x,
&saved_context,
__COPY_CONTEXT_SIZE, &n)