This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMIT] Fix compiler warnings in arm-tdep.c


Committed as obvious.

Mark

Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* arm-tdep.c (arm_extract_return_value, arm_store_return_value):
	Change type of last argument to `gdb_byte *'.

Index: arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.197
diff -u -p -r1.197 arm-tdep.c
--- arm-tdep.c 14 Apr 2005 18:40:25 -0000 1.197
+++ arm-tdep.c 22 May 2005 20:10:20 -0000
@@ -2013,12 +2013,9 @@ arm_breakpoint_from_pc (CORE_ADDR *pcptr
    format, into VALBUF.  */
 
 static void
-arm_extract_return_value (struct type *type,
-			  struct regcache *regs,
-			  void *dst)
+arm_extract_return_value (struct type *type, struct regcache *regs,
+			  gdb_byte *valbuf)
 {
-  bfd_byte *valbuf = dst;
-
   if (TYPE_CODE_FLT == TYPE_CODE (type))
     {
       switch (gdbarch_tdep (current_gdbarch)->fp_model)
@@ -2210,10 +2207,8 @@ arm_use_struct_convention (int gcc_p, st
 
 static void
 arm_store_return_value (struct type *type, struct regcache *regs,
-			const void *src)
+			const gdb_byte *valbuf)
 {
-  const bfd_byte *valbuf = src;
-
   if (TYPE_CODE (type) == TYPE_CODE_FLT)
     {
       char buf[MAX_REGISTER_SIZE];


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]