-nowindows (-nw) option cancels MI interpreter

Michael Snyder msnyder@specifix.com
Wed Apr 9 20:29:00 GMT 2008


On Wed, 2008-04-09 at 13:35 -0400, Daniel Jacobowitz wrote:
> On Wed, Apr 09, 2008 at 01:24:29PM -0400, Marc Khouzam wrote:
> > Hi,
> > 
> > the -nowindows option to GDB caused the interpreter to be forced to be CONSOLE.
> > This means that something like
> > 	gdb -i=mi -nw 
> > is equivalent to 
> > 	gdb -i=console -nw
> > 
> > I would expect that the MI interpreter would not be affected by the -nw option...
> 
> -nw is completely equivalent to -i=console.  So it's sensitive to
> where you put it on the command line.  I think it's easier to improve
> the manual...

I suppose, back in the day, we thought of MI as loosely
equivalent to "windowing interface".  But there could be
present or future MI clients that aren't windowing interfaces.

Maybe calls for a re-think.




More information about the Gdb mailing list