gdb/mi: handle no condition argument case for -break-condition
[deliverable/binutils-gdb.git] / gdb / hppa-linux-nat.c
index 440bde703f4d42cf05801abba09b0d2d942afde3..ed005a61eb9b3a4cd76126c371a35e771a32de4b 100644 (file)
@@ -1,6 +1,6 @@
 /* Functions specific to running GDB native on HPPA running GNU/Linux.
 
-   Copyright (C) 2004-2018 Free Software Foundation, Inc.
+   Copyright (C) 2004-2021 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -24,6 +24,7 @@
 #include "target.h"
 #include "linux-nat.h"
 #include "inf-ptrace.h"
+#include "gdbarch.h"
 
 #include <sys/procfs.h>
 #include "nat/gdb_ptrace.h"
@@ -280,7 +281,7 @@ hppa_linux_nat_target::fetch_registers (struct regcache *regcache, int regno)
       for (regno = 0;
           regno < gdbarch_num_regs (regcache->arch ());
           regno++)
-        fetch_register (regcache, regno);
+       fetch_register (regcache, regno);
     }
   else 
     {
@@ -383,8 +384,9 @@ fill_fpregset (const struct regcache *regcache,
    }
 }
 
+void _initialize_hppa_linux_nat ();
 void
-_initialize_hppa_linux_nat (void)
+_initialize_hppa_linux_nat ()
 {
   /* Register the target.  */
   linux_target = &the_hppa_linux_nat_target;
This page took 0.024806 seconds and 4 git commands to generate.