* i386fbsd-nat.c (_initialize_i386fbsd_nat): Group target related
authorMark Kettenis <kettenis@gnu.org>
Sun, 26 Sep 2004 19:44:50 +0000 (19:44 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 26 Sep 2004 19:44:50 +0000 (19:44 +0000)
code together.

gdb/ChangeLog
gdb/i386fbsd-nat.c

index 5ba93fa..8395819 100644 (file)
@@ -1,5 +1,8 @@
 2004-09-26  Mark Kettenis  <kettenis@gnu.org>
 
+       * 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.
 
index ca3b95d..bf4bd94 100644 (file)
@@ -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);
 }