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 some gdb_byte fallout on amd64


Makes OpenBSD/amd64 happy again with -Werror.

Mark


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

	* amd64-tdep.c (amd64_frame_prev_register)
	(amd64_sigtramp_frame_prev_register): Change type of last argument
	to `gdb_byte *'.

Index: amd64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/amd64-tdep.c,v
retrieving revision 1.24
diff -u -p -r1.24 amd64-tdep.c
--- amd64-tdep.c 14 May 2005 11:27:02 -0000 1.24
+++ amd64-tdep.c 12 Jun 2005 09:17:54 -0000
@@ -862,7 +862,7 @@ static void
 amd64_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 amd64_frame_cache *cache =
     amd64_frame_cache (next_frame, this_cache);
@@ -969,7 +969,7 @@ amd64_sigtramp_frame_prev_register (stru
 				    void **this_cache,
 				    int regnum, int *optimizedp,
 				    enum lval_type *lvalp, CORE_ADDR *addrp,
-				    int *realnump, void *valuep)
+				    int *realnump, gdb_byte *valuep)
 {
   /* Make sure we've initialized the cache.  */
   amd64_sigtramp_frame_cache (next_frame, this_cache);


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