From 771e236cf062089d49ae381eb632f9d8554d5860 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 26 Sep 2004 19:44:50 +0000 Subject: [PATCH] * i386fbsd-nat.c (_initialize_i386fbsd_nat): Group target related code together. --- gdb/ChangeLog | 3 +++ gdb/i386fbsd-nat.c | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5ba93faef1..839581962e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2004-09-26 Mark Kettenis + * i386fbsd-nat.c (_initialize_i386fbsd_nat): Group target related + code together. + * config/i386/nm-fbsd64.h: Remove file. * config/i386/fbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h. diff --git a/gdb/i386fbsd-nat.c b/gdb/i386fbsd-nat.c index ca3b95d663..bf4bd94d8c 100644 --- a/gdb/i386fbsd-nat.c +++ b/gdb/i386fbsd-nat.c @@ -131,6 +131,9 @@ _initialize_i386fbsd_nat (void) t->to_make_corefile_notes = fbsd_make_corefile_notes; add_target (t); + /* Support debugging kernel virtual memory images. */ + bsd_kvm_add_target (i386fbsd_supply_pcb); + /* FreeBSD provides a kern.ps_strings sysctl that we can use to locate the sigtramp. That way we can still recognize a sigtramp if its location is changed in a new kernel. Of course this is @@ -153,7 +156,4 @@ _initialize_i386fbsd_nat (void) } } #endif - - /* Support debugging kernel virtual memory images. */ - bsd_kvm_add_target (i386fbsd_supply_pcb); } -- 2.34.1