diff options
Diffstat (limited to 'gdb/nat/linux-ptrace.c')
-rw-r--r-- | gdb/nat/linux-ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c index 97331a4..60c7960 100644 --- a/gdb/nat/linux-ptrace.c +++ b/gdb/nat/linux-ptrace.c @@ -204,7 +204,7 @@ linux_ptrace_test_ret_to_nx (void) safe_strerror (errno)); return; } - pc = (void *) (uintptr_t) l; + pc = (gdb_byte *) (uintptr_t) l; kill (child, SIGKILL); ptrace (PTRACE_KILL, child, (PTRACE_TYPE_ARG3) NULL, |