[commit] Fix gdb_byte fallout on m88k

Mark Kettenis mark.kettenis@xs4all.nl
Sun Jun 12 11:53:00 GMT 2005


Makes things compile with -Werror again.

Mark

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

	* m88k-tdep.c (m88k_frame_prev_register): Change type of last
	argument to `gdb_byte *'.

Index: m88k-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/m88k-tdep.c,v
retrieving revision 1.17
diff -u -p -r1.17 m88k-tdep.c
--- m88k-tdep.c 14 May 2005 11:50:36 -0000 1.17
+++ m88k-tdep.c 12 Jun 2005 11:51:14 -0000
@@ -721,7 +721,7 @@ static void
 m88k_frame_prev_register (struct frame_info *next_frame, void **this_cache,
 			  int regnum, int *optimizedp,
 			  enum lval_type *lvalp, CORE_ADDR *addrp,
-			  int *realnump, void *valuep)
+			  int *realnump, gdb_byte *valuep)
 {
   struct m88k_frame_cache *cache = m88k_frame_cache (next_frame, this_cache);
 



More information about the Gdb-patches mailing list