This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [6/7] Adjust the gnu-nat target (GNU/Hurd)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 15 Aug 2008 13:39:04 -0400
- Subject: Re: [6/7] Adjust the gnu-nat target (GNU/Hurd)
- References: <200808080239.10343.pedro@codesourcery.com>
On Fri, Aug 08, 2008 at 02:39:10AM +0100, Pedro Alves wrote:
> 2008-08-08 Pedro Alves <pedro@codesourcery.com>
>
> 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.
Looks good to me. I believe that's all seven now.
--
Daniel Jacobowitz
CodeSourcery