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: [RFA 01/08] multi-process support: struct inferior


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


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