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: RFC: Add named errors and messages to remote protocol


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


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