From 34e9d9bbe19dddb89155f7e22271d50ff2b0d597 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Mon, 31 Jul 2000 16:25:36 +0000 Subject: [PATCH] 2000-07-31 Elena Zannoni * 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. --- gdb/ChangeLog | 7 +++++++ gdb/remote-e7000.c | 4 ++-- gdb/sh-tdep.c | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d63a93259dd..37c7b8b61e8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2000-07-31 Elena Zannoni + + * 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. + 2000-07-31 Eli Zaretskii * config/djgpp/fnchange.lst: Add file mappings as per last weekly diff --git a/gdb/remote-e7000.c b/gdb/remote-e7000.c index 6022c4d065e..35ce227e44e 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; } diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 3079e341659..640ea4006a2 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -920,8 +920,8 @@ sh_pop_frame (void) to R7. */ static CORE_ADDR -sh_push_arguments (int nargs, value_ptr *args, CORE_ADDR sp, - unsigned char struct_return, CORE_ADDR struct_addr) +sh_push_arguments (int nargs, struct value **args, CORE_ADDR sp, + int struct_return, CORE_ADDR struct_addr) { int stack_offset, stack_alloc; int argreg; -- 2.30.2