This is the mail archive of the gdb-patches@sources.redhat.com 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] |
J. Johnston writes:
> The following changes the mi documentation to clarify the usage of the
> "--" delimeter. This delimeter is meant to provide a way to separate
> options from parameters so as to handle cases whereby the parameters may
> start with "-" and be mistaken for options.
> The problem reported tries to use it generally before any parameter list. > This doesn't work because only the mi_getopt option processor knows to ignore it and > commands that don't have options (preceded by dash) don't call mi_getopt. > It is then treated as a parameter which is incorrect.
> I have removed the delimeter from the description of the -data-disassembleThe documentation is correct, there is no reason for changing it.
> command as it is not manditory and the delimeter should be treated as optional to all > applicable commands that support both options and parameters. I have removed
> it from one of the -data-disassemble examples to clarify that it may or may not
> be specified.
> Ok to commit?
No. Andrew
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |