summaryrefslogtreecommitdiff
path: root/gdb/gdb_proc_service.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-02-27 20:34:41 +0000
committerPedro Alves <palves@redhat.com>2009-02-27 20:34:41 +0000
commit93a91755bfe2480da00e3132a3e20a2778b7cc60 (patch)
tree10a53444d2fde64eccf1e9cadc3fe3cf3e1cdc73 /gdb/gdb_proc_service.h
parentd6f574e0edeebc51588a33b7461e35425fef8925 (diff)
* gdb_proc_service.h (struct ps_prochandle): Replace pid_t field
with a ptid_t field. * linux-thread-db.c (thread_get_info_callback): Build the ptid using the pid stored in proc_handle.ptid. (thread_from_lwp, thread_db_attach_lwp, enable_thread_event) (check_for_thread_db, thread_db_detach, check_event) (thread_db_mourn_inferior, find_new_threads_callback) (thread_db_find_new_threads_1): Adjust. * proc-service.c (ps_xfer_memory, ps_lgetregs, ps_lsetregs) (ps_lgetfpregs, ps_lsetfpregs, ps_getpid): Adjust.
Diffstat (limited to 'gdb/gdb_proc_service.h')
-rw-r--r--gdb/gdb_proc_service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdb_proc_service.h b/gdb/gdb_proc_service.h
index 7495a4bab7..de62c9db89 100644
--- a/gdb/gdb_proc_service.h
+++ b/gdb/gdb_proc_service.h
@@ -75,8 +75,8 @@ typedef prfpregset_t gdb_prfpregset_t;
/* Structure that identifies the target process. */
struct ps_prochandle
{
- /* The process id is all we need. */
- pid_t pid;
+ /* The LWP we use for memory reads. */
+ ptid_t ptid;
};
#endif /* gdb_proc_service.h */