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]

[RFA] fix psaddr_t fall-back definition for gdbserver


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


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