On Thursday 18 September 2008 23:45:55, Daniel Jacobowitz wrote: > On Fri, Sep 12, 2008 at 04:37:34PM +0100, Pedro Alves wrote: > > gdb/ > > 2008-09-12 Pedro Alves > > > > * 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. Thanks. I've checked it in. I took the liberty of adding a comment describing struct inferior, similar to what's being put in the manual. Here's what I checked in. -- Pedro Alves