aboutsummaryrefslogtreecommitdiff
path: root/gdb/inftarg.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-14 23:14:34 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-14 23:14:34 +0000
commit655c5466129d563265e1d218865dbf2e2f067420 (patch)
tree2efb5c3cf9f6fbe54c25c730b54e94df1b6a516d /gdb/inftarg.c
parent73b0368308d5783adc2d2a378d8b650e84e7bedd (diff)
downloadgdb-655c5466129d563265e1d218865dbf2e2f067420.zip
gdb-655c5466129d563265e1d218865dbf2e2f067420.tar.gz
gdb-655c5466129d563265e1d218865dbf2e2f067420.tar.bz2
* inferior.h (call_ptrace): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3. * infptrace.c (call_ptrace, child_resume, attach, detach) (U_REGS_OFFSET, fetch_register, store_register, child_xfer_memory) (udot_info): Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. * inftarg.c (ptrace_me): Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
Diffstat (limited to 'gdb/inftarg.c')
-rw-r--r--gdb/inftarg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inftarg.c b/gdb/inftarg.c
index 384c04e..68efdac 100644
--- a/gdb/inftarg.c
+++ b/gdb/inftarg.c
@@ -307,7 +307,7 @@ static void
ptrace_me (void)
{
/* "Trace me, Dr. Memory!" */
- call_ptrace (0, 0, (PTRACE_ARG3_TYPE) 0, 0);
+ call_ptrace (0, 0, (PTRACE_TYPE_ARG3) 0, 0);
}
/* Stub function which causes the GDB that runs it, to start ptrace-ing