This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB Remote protocol error codes
- From: David Howells <dhowells at redhat dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: dhowells at redhat dot com, gdb at sourceware dot org, Roel Kluin <roel dot kluin at gmail dot com>
- Date: Sun, 15 Feb 2009 22:37:10 +0000
- Subject: Re: GDB Remote protocol error codes
- References: <20090212155327.GA12676@caradoc.them.org> <31615.1234451921@redhat.com>
Daniel Jacobowitz <drow@false.org> wrote:
> > 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.
I've been given a patch by Roel Kluin to fix the error numbers generated by
the GDB stub in the FRV arch of the Linux kernel, but I've no real idea if
what the patch does is correct, or whether what's there already is correct, or
if neither is correct.
Even if GDB currently ignores the codes, it would be good to have a definition
of what they *ought* to be, so should gdb be fixed to make use of them at
sometime in the future, the kernel will be already correct.
David