gdb: include gdbsupport/buildargv.h in ser-mingw.c
[binutils-gdb.git] / gdb / amd64-fbsd-nat.c
index 4e5291082a2d20f189069ef6e7aa0d338ef8a91e..376e1ff77c86da7132582417eaaba965c9728d20 100644 (file)
@@ -1,6 +1,6 @@
 /* Native-dependent code for FreeBSD/amd64.
 
-   Copyright (C) 2003-2019 Free Software Foundation, Inc.
+   Copyright (C) 2003-2022 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "inferior.h"
+#include "regcache.h"
+#include "target.h"
 
-/* Standard C includes.  */
-#include <machine/reg.h>
 #include <signal.h>
+#include <sys/types.h>
 #include <sys/ptrace.h>
 #include <sys/sysctl.h>
-#include <sys/types.h>
 #include <sys/user.h>
+#include <machine/reg.h>
 
-/* Local non-gdb includes.  */
-#include "amd64-bsd-nat.h"
-#include "amd64-nat.h"
-#include "amd64-tdep.h"
-#include "common/x86-xstate.h"
 #include "fbsd-nat.h"
-#include "inferior.h"
-#include "regcache.h"
-#include "target.h"
+#include "amd64-tdep.h"
+#include "amd64-nat.h"
+#include "amd64-bsd-nat.h"
 #include "x86-nat.h"
-
+#include "gdbsupport/x86-xstate.h"
 \f
 
 class amd64_fbsd_nat_target final
@@ -212,8 +209,9 @@ amd64_fbsd_nat_target::supports_stopped_by_hw_breakpoint ()
 }
 #endif
 
+void _initialize_amd64fbsd_nat ();
 void
-_initialize_amd64fbsd_nat (void)
+_initialize_amd64fbsd_nat ()
 {
   int offset;