diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-07-17 13:59:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-07-17 13:59:23 +0000 |
commit | 9d07b40cd180aa058661dad59bba59b082be398b (patch) | |
tree | 6abaec4cbb750156cfb9182e4dd27efc1c5060c4 | |
parent | 37c5ab86b64912fd418fa3bfad121e73d3a18c68 (diff) | |
download | gdb-9d07b40cd180aa058661dad59bba59b082be398b.zip gdb-9d07b40cd180aa058661dad59bba59b082be398b.tar.gz gdb-9d07b40cd180aa058661dad59bba59b082be398b.tar.bz2 |
2004-07-17 Andrew Cagney <cagney@gnu.org>
* hppa-linux-nat.c: Do not include <string.h>.
(supply_fpregset): Remove "register" attribute.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/hppa-linux-nat.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c6d9455..931077e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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. 2004-07-17 Mark Kettenis <kettenis@gnu.org> 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++) |