diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-02-25 19:19:26 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-02-25 19:19:26 +0000 |
commit | c82c0b55e7f5182e3822f3878b9bc67a241d4f21 (patch) | |
tree | 6c0a9c8dd7f02ac84d7cf46af434a0ab79a2b6af /gdb/inferior.h | |
parent | 093a6ec67f9a17e6ef0e1b8ae828cbe5936f97fd (diff) | |
download | gdb-c82c0b55e7f5182e3822f3878b9bc67a241d4f21.zip gdb-c82c0b55e7f5182e3822f3878b9bc67a241d4f21.tar.gz gdb-c82c0b55e7f5182e3822f3878b9bc67a241d4f21.tar.bz2 |
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.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 6 |
1 files changed, 0 insertions, 6 deletions
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); |