summaryrefslogtreecommitdiff
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
commit5a9e0bb7362dbc7c9f3c79c0255b3320ba05d61e (patch)
treee4c422396bd0251c57e7d33be7d598193aa0394f /gdb/windows-nat.c
parent73d034aaf99d2209f896f2ceb44b72446823171e (diff)
downloadgdb-5a9e0bb7362dbc7c9f3c79c0255b3320ba05d61e.tar.gz
* 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 16ee785a26b..e648d5fa90e 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)