summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/bsd-kvm.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2004-07-08 08:18:00 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2004-07-08 08:18:00 +0000
commit586e635d72877a713b4214084fdaa19d806a233a (patch)
tree982e7d38d85df68a55cd0967109eccdb9904f831 /gnu/usr.bin/binutils/gdb/bsd-kvm.h
parent2e13687ea23333acaa7c96208fbdbe01ed286179 (diff)
Sync libkvm interface with FSF repository. This adds new "kvm proc" and
"kvm pcb" commands. ok deraadt@
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/bsd-kvm.h')
-rw-r--r--gnu/usr.bin/binutils/gdb/bsd-kvm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/bsd-kvm.h b/gnu/usr.bin/binutils/gdb/bsd-kvm.h
index 129a2f20c72..0660776cf43 100644
--- a/gnu/usr.bin/binutils/gdb/bsd-kvm.h
+++ b/gnu/usr.bin/binutils/gdb/bsd-kvm.h
@@ -25,6 +25,11 @@
struct pcb;
struct regcache;
-extern int bsd_kvm_supply_pcb (struct regcache *regache, struct pcb *pcb);
+/* Add the libkvm interface to the list of all possible targets and
+ register CUPPLY_PCB as the architecture-specific process control
+ block interpreter. */
+
+extern void
+ bsd_kvm_add_target (int (*supply_pcb)(struct regcache *, struct pcb *));
#endif /* bsd-kvm.h */