]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2004-07-17 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sat, 17 Jul 2004 13:59:23 +0000 (13:59 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 17 Jul 2004 13:59:23 +0000 (13:59 +0000)
* hppa-linux-nat.c: Do not include <string.h>.
(supply_fpregset): Remove "register" attribute.

gdb/ChangeLog
gdb/hppa-linux-nat.c

index c6d9455e507c143a2515b2b325d51dbc4afb1c96..931077ebd867583ef69f0b761e8b18db7662df8f 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-17  Andrew Cagney  <cagney@gnu.org>
+
+       * hppa-linux-nat.c: Do not include <string.h>.
+       (supply_fpregset): Remove "register" attribute.
+
 2004-07-17  Andrew Cagney  <cagney@gnu.org>
 
        * solib-frv.c (fetch_loadmap): Use xfree, not free.
index c15e1ab7122c80f77f6755f98a1f41ae1881dc11..fc901ace3bdfa36a6f59a89f6ddbfc55829d8e8f 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <sys/procfs.h>
 #include <sys/ptrace.h>
-#include <string.h>
 #include <linux/version.h>
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,43)
@@ -342,7 +341,7 @@ fill_gregset (gdb_gregset_t *gregsetp, int regno)
 void
 supply_fpregset (gdb_fpregset_t *fpregsetp)
 {
-  register int regi;
+  int regi;
   char *from;
 
   for (regi = 0; regi <= 31; regi++)