This is the mail archive of the gdb-patches@sourceware.org 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]

[ob] arm-linux gdb_byte fix


Committed as obvious.  As a comment nearby says, this whole function
should be eliminated; I'm pretty sure that's safe to do, but I don't
want to do it until I have a chance to test it, which means not this moment.


-- 
Daniel Jacobowitz
CodeSourcery

2006-04-10  Daniel Jacobowitz  <dan@codesourcery.com>

	* arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.

Index: arm-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-linux-tdep.c,v
retrieving revision 1.52
diff -u -p -r1.52 arm-linux-tdep.c
--- arm-linux-tdep.c	15 Jan 2006 18:28:58 -0000	1.52
+++ arm-linux-tdep.c	10 Apr 2006 14:38:38 -0000
@@ -79,8 +79,8 @@ static const char arm_linux_thumb_le_bre
    hidden behind the regcache abstraction.  */
 static void
 arm_linux_extract_return_value (struct type *type,
-				char regbuf[],
-				char *valbuf)
+				gdb_byte regbuf[],
+				gdb_byte *valbuf)
 {
   /* ScottB: This needs to be looked at to handle the different
      floating point emulators on ARM GNU/Linux.  Right now the code


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