This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Add named errors and messages to remote protocol
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jim Blandy <jimb at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 3 Jul 2007 13:16:13 -0400
- Subject: Re: RFC: Add named errors and messages to remote protocol
- References: <m3fy4oyfa3.fsf@codesourcery.com>
On Mon, Jun 18, 2007 at 05:11:16PM -0700, Jim Blandy wrote:
>
> Here's a patch we've just started using internally at CodeSourcery
> which implements something that's been discussed on and off for years:
> extending the remote protocol to support named errors, and to provide
> error messages along with errors.
>
> This is a pretty rough patch. Probably all the sites in remote.c that
> check for errors should call error_from_remote. But hopefully the
> basic idea is clear enough to critique.
This is a remote protocol change; I believe the custom is to post just
the documentation or a description on gdb@ first in case anyone has
comments.
I would like for us to unify the error handling in the remote target
along with this. It's very jumbled as to what's a warning and what
isn't.
--
Daniel Jacobowitz
CodeSourcery