diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-09-26 18:42:30 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-09-26 18:42:30 +0000 |
commit | 6a5c78a350526e8418a83b0275b5ce4ad0f42d7f (patch) | |
tree | bcb57b2399387bf089f47f237fa03b560487818e /gdb/amd64-nat.h | |
parent | 43fcb4de8eded0bb41a524338b436cc633b74f77 (diff) | |
download | gdb-6a5c78a350526e8418a83b0275b5ce4ad0f42d7f.zip gdb-6a5c78a350526e8418a83b0275b5ce4ad0f42d7f.tar.gz gdb-6a5c78a350526e8418a83b0275b5ce4ad0f42d7f.tar.bz2 |
* amd64-nat.h: Update copyright year.
(amd64bsd_target): New prototype.
* amd64bsd-nat.c: Include "target.h" and "inf-ptrace.h".
(amd64bsd_target): New function.
(amd64bsd_fetch_inferior_registers): Rename from
fetch_inferior_registers. Make static.
(amd64bsd_store_inferior_registers): Rename from
store_inferior_registers. Make static.
* amd64fbsd-nat.c: Include "target.h" and "fbsd-nat.h".
(_initialize_amd64fbsd_nat): Construct and add target vector.
* amd64nbsd-nat.o: Include "target.h".
(_initialize_amd64nbsd_nat): Construct and add target vector.
* amd64obsd-nat.c: Include "target.h".
(_initialize_amd64obsd_nat): Construct and add target vector.
* config/i386/nm-fbsd64.h (CHILD_PID_TO_EXEC_FILE): Remove define.
* config/i386/fbsd64.mh (NATDEPFILES): Remove infptrace.o,
inftarg.o and fbsd-proc.o. Add inf-child.o, inf-ptrace.o and
fbsd-nat.o.
* config/i386/nbsd64.mh, config/i386/obsd64.mh (NATDEPFILES):
Remove infptrace.o and inftarg.o. Add inf-child.o and
inf-ptrace.o.
* Makefile.in (amd64bsd-nat.o, amd64fbsd-nat.o, amd64nbsd-nat.o)
(amd64obsd-nat.o): Update dependencies.
Diffstat (limited to 'gdb/amd64-nat.h')
-rw-r--r-- | gdb/amd64-nat.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/amd64-nat.h b/gdb/amd64-nat.h index edf6df8..0b8caf2 100644 --- a/gdb/amd64-nat.h +++ b/gdb/amd64-nat.h @@ -1,6 +1,6 @@ /* Native-dependent code for AMD64. - Copyright 2003 Free Software Foundation, Inc. + Copyright 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -50,4 +50,9 @@ extern void amd64_supply_native_gregset (struct regcache *regcache, extern void amd64_collect_native_gregset (const struct regcache *regcache, void *gregs, int regnum); +/* Create a prototype *BSD/amd64 target. The client can override it + with local methods. */ + +extern struct target_ops *amd64bsd_target (void); + #endif /* amd64-nat.h */ |