aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-linux-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-17 13:58:56 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-17 13:58:56 +0000
commit1b89295f2fcdbdf68734266e61e2ff4a052bcb82 (patch)
treea406df00f8b0c42196180aede869ee97dc8819dc /gdb/hppa-linux-nat.c
parentd5c560f7de4a7866da139d8aaf9f8e0d466cf93a (diff)
downloadgdb-1b89295f2fcdbdf68734266e61e2ff4a052bcb82.zip
gdb-1b89295f2fcdbdf68734266e61e2ff4a052bcb82.tar.gz
gdb-1b89295f2fcdbdf68734266e61e2ff4a052bcb82.tar.bz2
2004-07-17 Andrew Cagney <cagney@gnu.org>
* hppa-linux-nat.c: Do not include <string.h>. (supply_fpregset): Remove "register" attribute.
Diffstat (limited to 'gdb/hppa-linux-nat.c')
-rw-r--r--gdb/hppa-linux-nat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/hppa-linux-nat.c b/gdb/hppa-linux-nat.c
index c15e1ab..fc901ac 100644
--- a/gdb/hppa-linux-nat.c
+++ b/gdb/hppa-linux-nat.c
@@ -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++)