From c82c0b55e7f5182e3822f3878b9bc67a241d4f21 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 25 Feb 2011 19:19:26 +0000 Subject: 2011-02-25 Michael Snyder * 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 * gdb.multi/base.exp: Add tests for info inferiors with args. --- gdb/inferior.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gdb/inferior.h') diff --git a/gdb/inferior.h b/gdb/inferior.h index 381fd82..8508ce4 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -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); -- cgit v1.1