This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: core target, always a thread
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 18 Aug 2008 16:29:45 -0400
- Subject: Re: core target, always a thread
- References: <200808111449.30272.pedro@codesourcery.com>
On Mon, Aug 11, 2008 at 02:49:30PM +0100, Pedro Alves wrote:
> 2008-08-11 Pedro Alves <pedro@codesourcery.com>
>
> * corelow.c (add_to_thread_list): If this is the first time we
> hear about thread info, update inferior_ptid.
> (core_open): Clear the thread list and set inferior_ptid before
> acknowledging a new inferior. Find threads before fetching
> register info. Give an upper target layer a chance to find and
> claim new threads. Print core generation and stop signal info
> after finding new threads.
> (get_core_register_section): Look at the lwp member of
> inferior_ptid for detecting if we have threads info, instead of
> the pid member.
> (core_pid_to_str): New.
> (init_core_ops): Register core_pid_to_str.
OK.
--
Daniel Jacobowitz
CodeSourcery