Quoting, backslashes, CLI and MI

Daniel Jacobowitz drow@false.org
Wed Feb 22 19:28:00 GMT 2006


On Wed, Feb 22, 2006 at 07:19:05PM +0000, Andrew STUBBS wrote:
> Daniel Jacobowitz wrote:
> >Then there's the question of what to do with CLI "set args".  People
> >use this today and it is passed literally to the program, without any
> >interpretation of quotes or escapes - if you want that to happen you
> >wait for the shell to do it.  I don't think that we can really change
> >that - we can bump the interface version on MI, but we can't really
> >bump it on our CLI users' fingers :-)
> 
> remote-sim.c already uses build_argv for its args.

I think that the number of people who pass complicated args to programs
run on the simulator is probably much smaller than the number who do so
to programs run natively; fork-child.c will trump in this case.  For
instance, local system filenames.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list