forked from Imagelibrary/binutils-gdb
2011-02-25 Michael Snyder <msnyder@vmware.com>
* inferior.c (print_inferior): Accept a string instead of an int for requested_inferiors, and use get_number_or_range to parse it. (info_inferiors_command): Pass args string to print_inferior. (initialize_inferiors): Change help string for info inferiors. * inferior.h (print_inferior): Export prototype change. 2011-02-25 Michael Snyder <msnyder@vmware.com> * gdb.multi/base.exp: Add tests for info inferiors with args.
This commit is contained in:
@@ -616,12 +616,6 @@ extern struct inferior *iterate_over_inferiors (int (*) (struct inferior *,
|
||||
void *),
|
||||
void *);
|
||||
|
||||
/* Prints the list of inferiors and their details on UIOUT.
|
||||
|
||||
If REQUESTED_INFERIOR is not -1, it's the GDB id of the inferior
|
||||
that should be printed. Otherwise, all inferiors are printed. */
|
||||
extern void print_inferior (struct ui_out *uiout, int requested_inferior);
|
||||
|
||||
/* Returns true if the inferior list is not empty. */
|
||||
extern int have_inferiors (void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user