[RFA] fix psaddr_t fall-back definition for gdbserver

Doug Evans dje@google.com
Fri Dec 18 18:39:00 GMT 2009


Hi.

While porting gdb 7.0 to android I needed to add this patch.

Ok to check in?

2009-12-18  Doug Evans  <dje@google.com>

	* gdb_proc_service.h (psaddr_t): Fix definition.

Index: gdb_proc_service.h
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/gdb_proc_service.h,v
retrieving revision 1.6
diff -u -p -r1.6 gdb_proc_service.h
--- gdb_proc_service.h	1 Apr 2009 22:50:24 -0000	1.6
+++ gdb_proc_service.h	18 Dec 2009 18:34:13 -0000
@@ -54,7 +54,7 @@ typedef unsigned int lwpid_t;
 #endif
 
 #ifndef HAVE_PSADDR_T
-typedef unsigned long psaddr_t;
+typedef void *psaddr_t;
 #endif
 
 #ifndef HAVE_PRGREGSET_T



More information about the Gdb-patches mailing list