This is the mail archive of the
mailing list for the GDB project.
Re: [patch] Allow "disassemble 'Foo::bar(char *)'"
>>>>> "Paul" == Paul Pluzhnikov <email@example.com> writes:
Paul> It works, but I can't make it backward-compatible and not require a comma
Paul> for two-argument invocation :-(
Paul> If it's acceptable to require comma for two-argument command
Paul> (which IMO it is), I'll update documentation and testsuites, and
Paul> produce a "real" patch.
It is fine by me.
If anybody objects it would be helpful if they would speak up sooner
rather than later.
Paul> + if (arg == ',')
Paul> + ++arg;
Paul> + if (arg == '\0')
You probably want to skip whitespace after the ",".