This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch][python] 2 of 5 - Frame filter MI code changes.
>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:
Phil> Originally I did do that, but the error message if you mistype an
Phil> option generated by mi_getopt is wrong:
Phil> -stack-list-frames --no-frame-falters
Phil> ^error,msg="-stack-list-frames: Unknown option ``-no-frame-falters''"
Phil> (gdb)
Well, it is correct, just weird :)
Phil> I am not sure what you mean other callers, though.
Your patch causes all other mi_getopt callers to accept "--flag" as a
synonym for "-flag". They don't do this now.
Phil> What do you prefer?
I think a funny error message, for MI clients only, has the least impact
of the choices we're considering.
Tom