2000-07-31 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 31 Jul 2000 16:25:36 +0000 (16:25 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 31 Jul 2000 16:25:36 +0000 (16:25 +0000)
* 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
gdb/remote-e7000.c
gdb/sh-tdep.c

index d63a93259dda2b9ab47396908a74bb06583f4b5d..37c7b8b61e8fc9a834475d0dcf1322d5a80cae4a 100644 (file)
@@ -1,3 +1,10 @@
+2000-07-31  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * 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  <eliz@is.elta.co.il>
 
        * config/djgpp/fnchange.lst: Add file mappings as per last weekly
index 6022c4d065e379f07824f896ccb4c0696565221a..35ce227e44ecb75aa831f19d9ca283214d6019bd 100644 (file)
@@ -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;
        }
index 3079e3416596351db68f46e988b81e3652769ac7..640ea4006a2b89a0e7ac50fe5cac883e6f0f260a 100644 (file)
@@ -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;
This page took 0.043347 seconds and 4 git commands to generate.