OSDN Git Service

* gdb_proc_service.h (struct ps_prochandle): Replace pid_t field
authorpalves <palves>
Fri, 27 Feb 2009 20:34:40 +0000 (20:34 +0000)
committerpalves <palves>
Fri, 27 Feb 2009 20:34:40 +0000 (20:34 +0000)
commit2793ad1700fa633810ea7ec1dba1b4ca939fea8f
treeac5234e0e55367713d768c7a0aab484eaf1d58f7
parentc99fea72a53215446fda1e5ba22ef44266e11bfa
* 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.
gdb/ChangeLog
gdb/gdb_proc_service.h
gdb/linux-thread-db.c
gdb/proc-service.c