Re: [RFA GDB/MI] Help determine if GDB/MI command exists or not

Pedro Alves
2013-11-19T14:40:05Z

On 11/18/2013 05:11 PM, Joel Brobecker wrote:

> - Path #2 implements Pedro's idea of adding an error code to
> the "^error" result record.
>
> I took Pedro's patch nearly verbatim, removing the bits that
> dealt with invalid command-line usage (this part is left for
> another time, if the need becomes a little more explicit).
> I did notice that the additonal variable looked an awful lot
> like an error code, so I found it odd that we'd name if "error="
> in the patch. And then I realized that Pedro's first email did
> say "code", so I assumed it was a brain fart, and fixed the patch
> to use "code".

Whoops, yeah.

Thanks,
--
Pedro Alves