This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Register Groups (again)
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>, Andrew Cagney <ac131313 at ges dot redhat dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 19 Aug 2002 11:54:12 -0700
- Subject: Re: Register Groups (again)
- References: <3D5EE0C6.7080902@ges.redhat.com> <20020818040145.GA26488@nevyn.them.org>
On Aug 18, 12:01am, Daniel Jacobowitz wrote:
> On Sat, Aug 17, 2002 at 07:48:22PM -0400, Andrew Cagney wrote:
> > See: http://sources.redhat.com/ml/gdb/2001-02/msg00268.html for the
> > origins of this idea.
> >
> > I'd like to propose a new object ``struct reggroup'' and a number of
> > methods:
>
> Hmm, it seems more intuitive to me to have attributes for each
> register. Float, vector, system for the register's class or group, and
> then we could have other not necessarily mutually exclusive flags.
> Like, available in kernel or user mode.
I think the attribute idea might be useful elsewhere, but for the
purposes of being easily able to specify a register group for ``info
registers'' (and other user interface uses), I think Andrew's
proposal was fine.
Kevin