This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob/patch] v850-tdep.c: Fix gdb_byte usage.
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 13 Dec 2005 11:00:34 +0100
- Subject: [ob/patch] v850-tdep.c: Fix gdb_byte usage.
- Reply-to: gdb-patches at sourceware dot org
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.