summaryrefslogtreecommitdiff
path: root/gdb/arm-linux-nat.c
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
commit9c6dcf1e21dcd7321773f1361dbbcac95e583973 (patch)
tree9672500884439e0f7b9328ee6926b6dc2ff6d8cd /gdb/arm-linux-nat.c
parent17c1f3e6c9ccda41f41eef6617e4894ea9ab4a7a (diff)
downloadgdb-9c6dcf1e21dcd7321773f1361dbbcac95e583973.tar.gz
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.
Diffstat (limited to 'gdb/arm-linux-nat.c')
-rw-r--r--gdb/arm-linux-nat.c29
1 files changed, 14 insertions, 15 deletions
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c
index f7380503043..eb3f41b0b93 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;
}
}