summaryrefslogtreecommitdiff
path: root/gdb/i386fbsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-09-26 19:44:50 +0000
committerMark Kettenis <kettenis@gnu.org>2004-09-26 19:44:50 +0000
commit2a2e0c243fa1eb2ee3232fdbfbb987cc7fca83a7 (patch)
treefd0c8208172a35ccce4f1a133ffed615eae898e6 /gdb/i386fbsd-nat.c
parentf6dd1e3dea1d93ce60a033f634c669df3615b891 (diff)
downloadgdb-2a2e0c243fa1eb2ee3232fdbfbb987cc7fca83a7.tar.gz
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Group target related
code together.
Diffstat (limited to 'gdb/i386fbsd-nat.c')
-rw-r--r--gdb/i386fbsd-nat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/i386fbsd-nat.c b/gdb/i386fbsd-nat.c
index ca3b95d663a..bf4bd94d8c1 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);
}