* Error codes in Remote Serial Protocol
@ 2004-11-09 13:17 Jon Beniston
2004-11-09 16:02 ` Andrew Cagney
0 siblings, 1 reply; 4+ messages in thread
From: Jon Beniston @ 2004-11-09 13:17 UTC (permalink / raw)
To: gdb
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?
Cheers,
Jon
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error codes in Remote Serial Protocol
2004-11-09 13:17 Error codes in Remote Serial Protocol Jon Beniston
@ 2004-11-09 16:02 ` Andrew Cagney
2004-11-09 20:11 ` Jon Beniston
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2004-11-09 16:02 UTC (permalink / raw)
To: jbeniston; +Cc: gdb
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"?
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Error codes in Remote Serial Protocol
2004-11-09 16:02 ` Andrew Cagney
@ 2004-11-09 20:11 ` Jon Beniston
2004-11-16 1:34 ` Andrew Cagney
0 siblings, 1 reply; 4+ messages in thread
From: Jon Beniston @ 2004-11-09 20:11 UTC (permalink / raw)
To: 'Andrew Cagney'; +Cc: gdb
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).
Cheers,
Jon
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error codes in Remote Serial Protocol
2004-11-09 20:11 ` Jon Beniston
@ 2004-11-16 1:34 ` Andrew Cagney
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2004-11-16 1:34 UTC (permalink / raw)
To: jbeniston; +Cc: gdb
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-11-16 1:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-09 13:17 Error codes in Remote Serial Protocol Jon Beniston
2004-11-09 16:02 ` Andrew Cagney
2004-11-09 20:11 ` Jon Beniston
2004-11-16 1:34 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).