From ca08a94cf08890f7a3b3dd074d5b42a09ccd868e Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 18 Sep 2013 14:47:51 +0000 Subject: 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 * 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. --- gdb/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gdb/ChangeLog') 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 + + * 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 * infcmd.c (default_print_one_register_info): Add detection of -- cgit v1.1