diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-01-10 20:36:38 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-01-10 20:36:38 +0000 |
commit | 8785ced03ac5b8817f23f2bbfa590763a535cac2 (patch) | |
tree | 3fbeed5f36c39aa81bb8036e731375fa06e5d974 /gdb/inf-ptrace.h | |
parent | 0853c0928a75434195960f3ff72c2e865d68d6ac (diff) | |
download | gdb-8785ced03ac5b8817f23f2bbfa590763a535cac2.zip gdb-8785ced03ac5b8817f23f2bbfa590763a535cac2.tar.gz gdb-8785ced03ac5b8817f23f2bbfa590763a535cac2.tar.bz2 |
* inf-ptrace.h: Update copyright year. Sync comment with
inf-ptrace.c.
(inf_ptrace_trad_target): New prototype.
* inf-ptrace.c: Update copyright year. Include "regcache.h" and
"gdb_assert.h"
(inf_ptrace_target): Add comment.
(inf_ptrace+register_u_offset): New variable.
(inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
(inf_ptrace_store_register, inf_ptrace_store_registers)
(inf_ptrace_trad_target): New functions.
* Makefile.in (inf-ptrace.o): Update dependencies.
Diffstat (limited to 'gdb/inf-ptrace.h')
-rw-r--r-- | gdb/inf-ptrace.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gdb/inf-ptrace.h b/gdb/inf-ptrace.h index e9ceae3..ef86b51 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 |