This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/3] Use GNU style for metasyntactic variables in gdb
>>>>> "Simon" == Simon Marchi <simark@simark.ca> writes:
Simon> On 2018-09-14 10:55 p.m., Tom Tromey wrote:
>> I searched for other spots that did not use the GNU style for
>> metasyntactic syntactic variables. This patch fixes most of the ones
>> I found in gdb proper. There are a few remaining in MI, but I was
>> unsure whether those should be touched.
Simon> About MI, I don't see why it should be different. Do you have specific
Simon> examples?
if (argc < 1)
error (_("USAGE: %s <BKPT> [<COMMAND> [<COMMAND>...]]"), command);
But there are several if you search for [<][a-z][a-z-]*[>]
Simon> I stumbled on some messages like this:
Simon> error (_("-environment-cd: Usage DIRECTORY"));
Simon> That looks confusing to me, I would much prefer
Simon> error (_("Usage: -environment-cd DIRECTORY"));
Agreed. Which reminds me that my gdb CLI usage quest is also
incomplete.
Tom