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/patch] v850-tdep.c: Fix gdb_byte usage.


Hi,

I've applied the below patch to v850-tdep.c as obvious.  It allows to
build v850-elf with -Werror.


Corinna


	* v850-tdep.c (v850_frame_prev_register): Change valuep type to
	gdb_byte *.

Index: v850-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/v850-tdep.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -p -r1.94 -r1.95
--- v850-tdep.c 18 May 2005 08:52:18 -0000      1.94
+++ v850-tdep.c 13 Dec 2005 09:59:05 -0000      1.95
@@ -899,7 +899,7 @@ static void
 v850_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 v850_frame_cache *cache = v850_frame_cache (next_frame, this_cache);
 


-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.


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