aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-netbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ppc-netbsd-nat.c')
-rw-r--r--gdb/ppc-netbsd-nat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/ppc-netbsd-nat.c b/gdb/ppc-netbsd-nat.c
index a8e65bb..dfb855a 100644
--- a/gdb/ppc-netbsd-nat.c
+++ b/gdb/ppc-netbsd-nat.c
@@ -183,9 +183,7 @@ ppcnbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 1;
}
-void _initialize_ppcnbsd_nat ();
-void
-_initialize_ppcnbsd_nat ()
+INIT_GDB_FILE (ppcnbsd_nat)
{
/* Support debugging kernel virtual memory images. */
bsd_kvm_add_target (ppcnbsd_supply_pcb);