Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: David Howells <dhowells@redhat.com>
Cc: gdb@sourceware.org, Roel Kluin <roel.kluin@gmail.com>
Subject: Re: GDB Remote protocol error codes
Date: Thu, 12 Feb 2009 15:53:00 -0000	[thread overview]
Message-ID: <20090212155327.GA12676@caradoc.them.org> (raw)
In-Reply-To: <31615.1234451921@redhat.com>

On Thu, Feb 12, 2009 at 03:18:41PM +0000, David Howells wrote:
> 
> Hi,
> 
> Is there a general scheme for error reply codes ('Exx') in the GDB remote
> protocol?  The documentation is unclear on this point.  _Some_ of the commands
> mandate an errno return, but not all, and from whose set of errnos?  And does
> this apply to all commands?
> 
> Can the gdb.info file be updated to make this more clear please?
> 
> I need to know this so that I can fix up the error returns made by the FRV
> arch gdbstub in the Linux kernel.

Fix up relative to what?  As Jeremy said, the numbers are mostly
ignored.

Jim added protocol support for more precise errors and verbose
messages a while ago, but no one's had the interest to define error
codes; also GDB needs work to not just discard them.

-- 
Daniel Jacobowitz
CodeSourcery


  parent reply	other threads:[~2009-02-12 15:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12 15:18 David Howells
2009-02-12 15:34 ` Jeremy Bennett
2009-02-12 15:53 ` Daniel Jacobowitz [this message]
2009-02-15 22:37 ` David Howells
2009-02-15 23:26   ` Daniel Jacobowitz
2009-02-16  9:10     ` roel kluin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090212155327.GA12676@caradoc.them.org \
    --to=drow@false.org \
    --cc=dhowells@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=roel.kluin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox