info inferior, was Re: [commit] Simplify "thread apply" with get_number_or_range

Pedro Alves pedro@codesourcery.com
Fri Feb 25 13:22:00 GMT 2011


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



More information about the Gdb-patches mailing list