This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 01/08] multi-process support: struct inferior
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 18 Sep 2008 18:45:55 -0400
- Subject: Re: [RFA 01/08] multi-process support: struct inferior
- References: <200809121637.34647.pedro@codesourcery.com>
On Fri, Sep 12, 2008 at 04:37:34PM +0100, Pedro Alves wrote:
> gdb/
> 2008-09-12 Pedro Alves <pedro@codesourcery.com>
>
> * inferior.h: Forward declare struct ui_out.
> Forward declare struct private_inferior.
> (struct inferior): New.
> (init_inferior_list, add_inferior, add_inferior_silent)
> (delete_inferior, delete_inferior_silent, detach_inferior)
> (gdb_inferior_id_to_pid, pid_to_gdb_inferior_id, in_inferior_list)
> (valid_inferior_id, find_inferior_pid): New functions.
> (inferior_callback_func): New typedef.
> (iterate_over_inferiors, print_inferior, have_inferiors)
> (current_inferior): New functions.
> * inferior.c: New file.
>
> * Makefile.in (SFILES): Add inferior.c.
> (COMMON_OBS): Add inferior.o.
This code, with Stan's doc patch and Eli's comments on it, is OK to
commit.
--
Daniel Jacobowitz
CodeSourcery