diff options
author | Pedro Alves <palves@redhat.com> | 2013-09-18 14:47:51 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-09-18 14:47:51 +0000 |
commit | ca08a94cf08890f7a3b3dd074d5b42a09ccd868e (patch) | |
tree | 33b0faa586bcd15a8433c3d280c280034df9b23e /gdb/i387-tdep.h | |
parent | e4c6a2c42df650ad28efcb081244d41954d91353 (diff) | |
download | gdb-ca08a94cf08890f7a3b3dd074d5b42a09ccd868e.zip gdb-ca08a94cf08890f7a3b3dd074d5b42a09ccd868e.tar.gz gdb-ca08a94cf08890f7a3b3dd074d5b42a09ccd868e.tar.bz2 |
Subject: [PATCH] [Hurd/gnu-nat.c] Use ptid_t.lwpid to store thread ids
instead of ptid_t.tid.
In preparation for reusing gnu-nat.c in gdbserver, switch to storing
thread ids in the lwpid field of ptid_t rather than in the tid
field. The Hurd's thread model is 1:1, so it doesn't feel wrong
anyway.
gdb/
2013-09-18 Pedro Alves <palves@redhat.com>
* gnu-nat.c (inf_validate_procs, gnu_wait, gnu_resume)
(gnu_create_inferior)
(gnu_attach, gnu_thread_alive, gnu_pid_to_str, cur_thread)
(set_sig_thread_cmd): Use the lwpid field of ptids to
store/extract thread ids instead of the tid field.
* i386gnu-nat.c (gnu_fetch_registers): Adjust.
Diffstat (limited to 'gdb/i387-tdep.h')
0 files changed, 0 insertions, 0 deletions