This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add base linux native multi-process support.


On Thursday 16 April 2009 20:13:22, Tom Tromey wrote:

> Pedro>  /* Call CALLBACK with its second argument set to DATA for every LWP in
> Pedro>     the list.  If CALLBACK returns 1 for a particular LWP, return a
> Pedro>     pointer to the structure describing that LWP immediately.
> Pedro>     Otherwise return NULL.  */
>  
> Pedro>  struct lwp_info *
> Pedro> -iterate_over_lwps (int (*callback) (struct lwp_info *, void *), void *data)
> Pedro> +iterate_over_lwps (ptid_t filter,
> Pedro> +		   int (*callback) (struct lwp_info *, void *),
> Pedro> +		   void *data)
> 
> Please update the function's comment to explain the new parameter.

Will do.  Thanks.

> 
> Pedro> Index: src/gdb/linux-thread-db.c
> 
> After reading Paul's patch and then yours, it occurs to me that the
> thread database .so dlopen handle and various function pointers will
> have to be per-inferior.

Yeah.  I was going to leave that for a follow up, but, his
patch looks close to go, so I'll rebase my patch when Paul's patch
goes in, and do that before reposting.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]