aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Bambrough <scottb@netwinder.org>2000-02-28 20:17:16 +0000
committerScott Bambrough <scottb@netwinder.org>2000-02-28 20:17:16 +0000
commit56624b0a88ffc244f78528a6428e90263fc55226 (patch)
tree3d7e8ffd33ef184114a82ca6ebf2352f2f0006b1
parent5e671ea1b6422b501e40e41a1616a6c78d55af5a (diff)
downloadgdb-56624b0a88ffc244f78528a6428e90263fc55226.zip
gdb-56624b0a88ffc244f78528a6428e90263fc55226.tar.gz
gdb-56624b0a88ffc244f78528a6428e90263fc55226.tar.bz2
2000-02-28 Scott Bambrough <scottb@netwinder.org>
* arm-linux-nat.c (fetch_nw_fpe_*): Renamed to fetch_nwfpe_* to use the same naming convention as in the Linux kernel. Modified prototype to get rid of unused parameters. (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same naming convention as in the Linux kernel. Fixed calls to fetch_nwfpe_*. (store_fpregs): Fixed calls to store_nwfpe_*. Removed unused variable.
-rw-r--r--gdb/ChangeLog12
-rw-r--r--gdb/arm-linux-nat.c29
2 files changed, 26 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1aa07fc..f040e22 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,15 @@
+2000-02-28 Scott Bambrough <scottb@netwinder.org>
+
+ * arm-linux-nat.c (fetch_nw_fpe_*):
+ Renamed to fetch_nwfpe_* to use the same naming convention
+ as in the Linux kernel. Modified prototype to get rid of
+ unused parameters.
+ (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same
+ naming convention as in the Linux kernel. Fixed calls to
+ fetch_nwfpe_*.
+ (store_fpregs): Fixed calls to store_nwfpe_*. Removed
+ unused variable.
+
Mon Feb 28 18:24:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
* MAINTAINERS: Transfer d30v maintainership to David Taylor.
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c
index f738050..eb3f41b 100644
--- a/gdb/arm-linux-nat.c
+++ b/gdb/arm-linux-nat.c
@@ -72,7 +72,7 @@ FPA11;
static unsigned int os_version, os_major, os_minor, os_release;
static void
-fetch_nw_fpe_single (unsigned int fn, FPA11 * fpa11, unsigned int *pmem)
+fetch_nwfpe_single (unsigned int fn, FPA11 * fpa11)
{
unsigned int mem[3];
@@ -83,7 +83,7 @@ fetch_nw_fpe_single (unsigned int fn, FPA11 * fpa11, unsigned int *pmem)
}
static void
-fetch_nw_fpe_double (unsigned int fn, FPA11 * fpa11, unsigned int *pmem)
+fetch_nwfpe_double (unsigned int fn, FPA11 * fpa11)
{
unsigned int mem[3];
@@ -94,7 +94,7 @@ fetch_nw_fpe_double (unsigned int fn, FPA11 * fpa11, unsigned int *pmem)
}
static void
-fetch_nw_fpe_none (unsigned int fn, FPA11 * fpa11, unsigned int *pmem)
+fetch_nwfpe_none (unsigned int fn)
{
unsigned int mem[3] =
{0, 0, 0};
@@ -103,7 +103,7 @@ fetch_nw_fpe_none (unsigned int fn, FPA11 * fpa11, unsigned int *pmem)
}
static void
-fetch_nw_fpe_extended (unsigned int fn, FPA11 * fpa11, unsigned int *pmem)
+fetch_nwfpe_extended (unsigned int fn, FPA11 * fpa11)
{
unsigned int mem[3];
@@ -114,7 +114,7 @@ fetch_nw_fpe_extended (unsigned int fn, FPA11 * fpa11, unsigned int *pmem)
}
static void
-store_nw_fpe_single (unsigned int fn, FPA11 * fpa11)
+store_nwfpe_single (unsigned int fn, FPA11 * fpa11)
{
unsigned int mem[3];
@@ -124,7 +124,7 @@ store_nw_fpe_single (unsigned int fn, FPA11 * fpa11)
}
static void
-store_nw_fpe_double (unsigned int fn, FPA11 * fpa11)
+store_nwfpe_double (unsigned int fn, FPA11 * fpa11)
{
unsigned int mem[3];
@@ -135,7 +135,7 @@ store_nw_fpe_double (unsigned int fn, FPA11 * fpa11)
}
void
-store_nw_fpe_extended (unsigned int fn, FPA11 * fpa11)
+store_nwfpe_extended (unsigned int fn, FPA11 * fpa11)
{
unsigned int mem[3];
@@ -175,19 +175,19 @@ fetch_fpregs (void)
switch (fp.fType[fn])
{
case typeSingle:
- fetch_nw_fpe_single (fn, &fp, p);
+ fetch_nwfpe_single (fn, &fp);
break;
case typeDouble:
- fetch_nw_fpe_double (fn, &fp, p);
+ fetch_nwfpe_double (fn, &fp);
break;
case typeExtended:
- fetch_nw_fpe_extended (fn, &fp, p);
+ fetch_nwfpe_extended (fn, &fp);
break;
default:
- fetch_nw_fpe_none (fn, &fp, p);
+ fetch_nwfpe_none (fn);
}
}
}
@@ -199,7 +199,6 @@ static void
store_fpregs (void)
{
int ret, regno;
- unsigned int mem[3];
FPA11 fp;
/* Store fpsr. */
@@ -215,15 +214,15 @@ store_fpregs (void)
switch (fp.fType[fn])
{
case typeSingle:
- store_nw_fpe_single (fn, &fp);
+ store_nwfpe_single (fn, &fp);
break;
case typeDouble:
- store_nw_fpe_double (fn, &fp);
+ store_nwfpe_double (fn, &fp);
break;
case typeExtended:
- store_nw_fpe_extended (fn, &fp);
+ store_nwfpe_extended (fn, &fp);
break;
}
}