This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] fix psaddr_t fall-back definition for gdbserver
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Fri, 18 Dec 2009 10:39:45 -0800 (PST)
- Subject: [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