This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/4] Don't throw an error in 'info registers' for unavailable MIPS GP registers.
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: John Baldwin <jhb at freebsd dot org>
- Cc: <gdb-patches at sourceware dot org>, Pedro Alves <palves at redhat dot com>, Luis Machado <lgustavo at codesourcery dot com>
- Date: Fri, 16 Jun 2017 00:50:37 +0100
- Subject: Re: [PATCH 4/4] Don't throw an error in 'info registers' for unavailable MIPS GP registers.
- Authentication-results: sourceware.org; auth=none
- References: <20170412183727.22483-1-jhb@FreeBSD.org> <1732755.e2u3aPx1km@ralph.baldwin.cx> <alpine.DEB.2.00.1705052107190.2590@tp.orcam.me.uk> <17900147.CpTq3xXkZM@ralph.baldwin.cx>
On Mon, 12 Jun 2017, John Baldwin wrote:
> > > > However, as you note, the primary goal is removing the error(), and I can
> > > > live with any format that is readable.
> > >
> > > Any other thoughts on "<absent>" vs "<unavl>" vs always using the 64-bit
> > > table layout vs <insert other option here>?
> >
> > I've been busy with binutils stuff recently, sorry. I'll try to have a
> > look again next week.
>
> Ping?
Given the lack of consensus otherwise I think ` <unavl>' is the only way
to go. I hope there is consensus about this variant being better than
`<unavail'.
AFAIK output from `info registers' is not meant for machine consumption
and as such does not constitute a protocol. Therefore we can freely
change it again anytime if we find a better alternative, as long as it is
comprehensible to a human.
Thank you for patience and apologies for the long RTT.
Maciej