This is the mail archive of the gdb-patches@sourceware.org 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]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]