aboutsummaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-05-14 17:33:33 +0000
committerDaniel Jacobowitz <drow@false.org>2007-05-14 17:33:33 +0000
commit76e1ee85c1f22e95e4910b38c286d00f597859fd (patch)
tree9250bf5d720d17806e768efe60f56413d1f2a66b /gdb/sol-thread.c
parent2bd0c3d7a728231bd6a21b25e5c18034159dcb61 (diff)
downloadgdb-76e1ee85c1f22e95e4910b38c286d00f597859fd.zip
gdb-76e1ee85c1f22e95e4910b38c286d00f597859fd.tar.gz
gdb-76e1ee85c1f22e95e4910b38c286d00f597859fd.tar.bz2
* gdb_proc_service.h (paddr_t): Delete typedef.
* proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New. (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr. (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr. (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t. * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t. * Makefile.in (proc-service.o): Update.
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index ee26b41..4224d28 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -910,7 +910,7 @@ typedef const struct ps_prochandle *gdb_ps_prochandle_t;
typedef char *gdb_ps_read_buf_t;
typedef char *gdb_ps_write_buf_t;
typedef int gdb_ps_size_t;
-typedef paddr_t gdb_ps_addr_t;
+typedef psaddr_t gdb_ps_addr_t;
#else
typedef struct ps_prochandle *gdb_ps_prochandle_t;
typedef void *gdb_ps_read_buf_t;