summaryrefslogtreecommitdiff
path: root/gdb/inf-ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/inf-ptrace.h')
-rw-r--r--gdb/inf-ptrace.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/gdb/inf-ptrace.h b/gdb/inf-ptrace.h
index e9ceae3c963..ef86b518e27 100644
--- a/gdb/inf-ptrace.h
+++ b/gdb/inf-ptrace.h
@@ -1,7 +1,6 @@
-/* Low level Unix child interface to ptrace, for GDB when running
- under Unix.
+/* Low level child interface to ptrace.
- Copyright 2004 Free Software Foundation, Inc.
+ Copyright 2004, 2005 Free Software Foundation, Inc.
This file is part of GDB.
@@ -28,4 +27,11 @@
extern struct target_ops *inf_ptrace_target (void);
+/* Create a "traditional" ptrace target. REGISTER_U_OFFSET should be
+ a function returning the offset within the user area where a
+ particular register is stored. */
+
+extern struct target_ops *
+ inf_ptrace_trad_target (CORE_ADDR (*register_u_offset)(int));
+
#endif