From: Andrew Cagney <cagney@gnu.org>
To: jbeniston@compxs.com
Cc: gdb@sources.redhat.com
Subject: Re: Error codes in Remote Serial Protocol
Date: Tue, 16 Nov 2004 01:34:00 -0000 [thread overview]
Message-ID: <419956AD.1050002@gnu.org> (raw)
In-Reply-To: <001501c4c68e$401db180$0bbda8c0@Kindrogan>
Jon Beniston wrote:
> Hi Andrew,
>
>
>>Jon Beniston wrote:
>>
>>>Hi,
>>>
>>>Many of the commands in the remote serial protocol can
>>
>>return an error
>>
>>>code, 'ENN'. Are the values for these error codes defined anywhere?
>>
>>No.
>>
>>Perhaphs we should adopt those found in "include/gdb/fileio.h"?
>
>
> Are you refering to the errno codes? Do they really capture the type of
> errors we wish to return (i.e. no more breakpoint registers available).
Yes, and hopefully near enough: No space left on device
In the past it's been suggested that a local set of alternative
messages; or or return error strings vis:
E00,<hex-encoded-string>
of course the latter has i18n problems :-(
Andrew
prev parent reply other threads:[~2004-11-16 1:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-09 13:17 Jon Beniston
2004-11-09 16:02 ` Andrew Cagney
2004-11-09 20:11 ` Jon Beniston
2004-11-16 1:34 ` Andrew Cagney [this message]
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=419956AD.1050002@gnu.org \
--to=cagney@gnu.org \
--cc=gdb@sources.redhat.com \
--cc=jbeniston@compxs.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