ubsan: xstormy16: left shift of negative value
[deliverable/binutils-gdb.git] / gdb / arm-nbsd-nat.c
index 09f4f0f1c471e020935dcb0959ae0c1bff283c96..82c8ad5eedaf0bcdb3249dfff4a3021267478b60 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <machine/frame.h>
-#include <machine/reg.h>
-#include <sys/ptrace.h>
-#include <sys/types.h>
-
-/* Local non-gdb includes.  */
-#include "arm-tdep.h"
 #include "gdbcore.h"
-#include "inf-ptrace.h"
 #include "inferior.h"
 #include "regcache.h"
 #include "target.h"
+#include <sys/types.h>
+#include <sys/ptrace.h>
+#include <machine/reg.h>
+#include <machine/frame.h>
+
+#include "arm-tdep.h"
+#include "inf-ptrace.h"
 
 class arm_netbsd_nat_target final : public inf_ptrace_target
 {
@@ -43,8 +40,6 @@ public:
 
 static arm_netbsd_nat_target the_arm_netbsd_nat_target;
 
-extern int arm_apcs_32;
-
 static void
 arm_supply_gregset (struct regcache *regcache, struct reg *gregset)
 {
@@ -442,7 +437,7 @@ fetch_elfcore_registers (struct regcache *regcache,
 
 static struct core_fns arm_netbsd_elfcore_fns =
 {
-  bfd_target_elf_flavour,              /* core_flovour.  */
+  bfd_target_elf_flavour,              /* core_flavour.  */
   default_check_format,                        /* check_format.  */
   default_core_sniffer,                        /* core_sniffer.  */
   fetch_elfcore_registers,             /* core_read_registers.  */
This page took 0.028195 seconds and 4 git commands to generate.