This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: info inferior, was Re: [commit] Simplify "thread apply" with get_number_or_range
- From: Pedro Alves <pedro at codesourcery dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 25 Feb 2011 13:20:08 +0000
- Subject: Re: info inferior, was Re: [commit] Simplify "thread apply" with get_number_or_range
- References: <4D5F1C3A.7000403@vmware.com> <m3aahldvpg.fsf@fleche.redhat.com> <4D66C402.2060200@vmware.com>
On Thursday 24 February 2011 20:48:02, Michael Snyder wrote:
> Tom Tromey wrote:
> > Michael> I love this. I'm going to look for other commands to which it
> > Michael> could apply.
> >
> > If you are still looking, today I noticed that "info inferiors" could
> > use this...
>
> Pedro, I notice that "print_inferior" is exported, but I can't find any
> more uses of it.
Yeah, it as meant for MI, but MI ended up implementing it's own
way of printing inferiors. It could be made static.
> Should I worry if I need to change its prototype?
Nope.
--
Pedro Alves