This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [MI] argv/argc/args



> From: Vladimir Prus
> Sent: Wednesday, June 25, 2008 5:06 AM
> 
> In GDB 6.8 codebase, there were 3 different ways an MI 
> command can be processed:
> 
> 1. Sneaking via CLI directly (calling execute_command)
> 2. Calling a function, that takes argc/argv pair
> 3. Calling a function, that takes a string 'args' parameter with
> the raw part of MI command string after the command name.
> 
> Some time ago, I've checked in a patch to remove (3), to clarify the
> code. Dan has raised concerns about backward compatibility, so here's
> an attempt to analyze the change afresh.

I never quite understood the quoting for MI commands.  If I recall,
some commands need quotes when they use spaces, while others are not
allowed to use quotes.  I does cause a bit of a headache.

What is the impact of removing (3) above?  Quotes will be needed
or will not be allowed?

Thanks

marc

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]