aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-e7000.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-07-31 16:25:36 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-07-31 16:25:36 +0000
commit34e9d9bbe19dddb89155f7e22271d50ff2b0d597 (patch)
tree30403214da7866f956371125ffc78195397af0aa /gdb/remote-e7000.c
parentcf79017e4b93e1f6512745ba0322d6023fe51564 (diff)
downloadgdb-34e9d9bbe19dddb89155f7e22271d50ff2b0d597.zip
gdb-34e9d9bbe19dddb89155f7e22271d50ff2b0d597.tar.gz
gdb-34e9d9bbe19dddb89155f7e22271d50ff2b0d597.tar.bz2
2000-07-31 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_push_arguments): Make header match prototype. * remote-e7000.c (e7000_start_remote): Use void *, not char * as parameter to avoid compiler warning. (fetch_regs_from_dump): Call get_hex() with the correct number of parameters.
Diffstat (limited to 'gdb/remote-e7000.c')
-rw-r--r--gdb/remote-e7000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-e7000.c b/gdb/remote-e7000.c
index 6022c4d..35ce227 100644
--- a/gdb/remote-e7000.c
+++ b/gdb/remote-e7000.c
@@ -562,7 +562,7 @@ or \t\ttarget e7000 pc\n");
/* Stub for catch_errors. */
static int
-e7000_start_remote (char *dummy)
+e7000_start_remote (void *dummy)
{
int loop;
int sync;
@@ -895,7 +895,7 @@ fetch_regs_from_dump (nextchar, want)
}
store_signed_integer (buf,
REGISTER_RAW_SIZE (regno),
- (LONGEST) get_hex (&thischar, nextchar));
+ (LONGEST) get_hex (&thischar));
supply_register (regno, buf);
break;
}