aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-adapt.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-06-20 03:42:14 +0000
committerJohn Gilmore <gnu@cygnus>1992-06-20 03:42:14 +0000
commite95bfbf19c3d4a6aaf3ed265b7a333a322fc0be2 (patch)
tree2cba64a3ee48f4561d269c90477267518a4544be /gdb/remote-adapt.c
parent796aae470c86ac66dd43c452485dbb090d7b5370 (diff)
downloadgdb-e95bfbf19c3d4a6aaf3ed265b7a333a322fc0be2.zip
gdb-e95bfbf19c3d4a6aaf3ed265b7a333a322fc0be2.tar.gz
gdb-e95bfbf19c3d4a6aaf3ed265b7a333a322fc0be2.tar.bz2
* remote-adapt.c, remote-eb.c, remote-mm.c: Lint. Fix
INT_REGNUM to INTE_REGNUM. * tm-29k.h (SDB_REG_TO_REGNUM): Add for EPI 29K C compiler.
Diffstat (limited to 'gdb/remote-adapt.c')
-rw-r--r--gdb/remote-adapt.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/remote-adapt.c b/gdb/remote-adapt.c
index 1a75b1b..a21cbb8 100644
--- a/gdb/remote-adapt.c
+++ b/gdb/remote-adapt.c
@@ -50,7 +50,7 @@ extern struct target_ops adapt_ops; /* Forward declaration */
/* Forward function declarations */
static void adapt_fetch_registers ();
-static int adapt_store_registers ();
+static void adapt_store_registers ();
static void adapt_close ();
static int adapt_clear_breakpoints();
@@ -970,7 +970,7 @@ adapt_fetch_registers ()
{
int val = -1;
supply_register (FPE_REGNUM, &val);
- supply_register (INT_REGNUM, &val);
+ supply_register (INTE_REGNUM, &val);
supply_register (FPS_REGNUM, &val);
supply_register (EXO_REGNUM, &val);
}
@@ -1006,7 +1006,7 @@ adapt_fetch_register (regno)
/* Store the remote registers from the contents of the block REGS. */
-static int
+static void
adapt_store_registers ()
{
int i, j;
@@ -1063,7 +1063,7 @@ adapt_store_registers ()
/* Store register REGNO, or all if REGNO == -1.
Return errno value. */
-int
+void
adapt_store_register (regno)
int regno;
{
@@ -1085,7 +1085,6 @@ adapt_store_register (regno)
expect_prompt ();
}
DEXIT("adapt_store_registers()");
- return 0;
}
/* Get ready to modify the registers array. On machines which store