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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ab79da..4dd873a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +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. + 2013-09-18 Andrew Burgess <aburgess@broadcom.com> * infcmd.c (default_print_one_register_info): Add detection of |