X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Famd64-fbsd-nat.c;h=7f85b6a44894ed20a012bb4b79b4fa8ab759c187;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=4e5291082a2d20f189069ef6e7aa0d338ef8a91e;hpb=d55e5aa6b29906346c51ad00e6a9b112590aa294;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/amd64-fbsd-nat.c b/gdb/amd64-fbsd-nat.c index 4e5291082a..7f85b6a448 100644 --- a/gdb/amd64-fbsd-nat.c +++ b/gdb/amd64-fbsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for FreeBSD/amd64. - Copyright (C) 2003-2019 Free Software Foundation, Inc. + Copyright (C) 2003-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -18,26 +18,23 @@ along with this program. If not, see . */ #include "defs.h" +#include "inferior.h" +#include "regcache.h" +#include "target.h" -/* Standard C includes. */ -#include #include +#include #include #include -#include #include +#include -/* 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" 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;