Use ptid_t.tid to store thread ids instead of ptid_t.pid.
authorPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 21:33:25 +0000 (21:33 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 21:33:25 +0000 (21:33 +0000)
commit617fd3b510ba316db1303cfcc77ac598209a8cb7
treec752c53bd5e9bb7f9875a02a6b64372f313a1e5d
parent2689673f4559834c475fde6c1638a0b9a064d1f4
Use ptid_t.tid to store thread ids instead of ptid_t.pid.

* gnu-nat.c (inf_validate_procs): If this is the first time we're
seeing a thread id, extend the main thread's ptid.  If we still
have pending execs, don't be verbose about new threads.
(gnu_wait, gnu_resume, gnu_attach, gnu_thread_alive)
(gnu_pid_to_str, cur_thread, sig_thread_cmd): Adjust.
* i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers):
Adjust.
gdb/ChangeLog
gdb/gnu-nat.c
gdb/i386gnu-nat.c
This page took 0.026416 seconds and 4 git commands to generate.