This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Example code: gdb pseudo-registers
- To: Stan Shebs <shebs at apple dot com>
- Subject: Re: Example code: gdb pseudo-registers
- From: Michael Meissner <meissner at cygnus dot com>
- Date: Wed, 12 Jul 2000 23:59:48 -0400
- Cc: Michael Snyder <msnyder at cygnus dot com>, gdb-patches at sourceware dot cygnus dot com
- References: <396D07F2.6892@cygnus.com> <396D2752.7EC33ECE@apple.com>
On Wed, Jul 12, 2000 at 07:20:02PM -0700, Stan Shebs wrote:
> Michael Snyder wrote:
> >
> > Here is an example of how you would use the pseudo-register feature.
>
> Good stuff! It occurs to me that although this is primarily an
> implementor's feature, we should probably say *something* in the
> manual? At the very least, user modification of a user-visible
> register will cause other user-visible registers to magically
> change, and we should document that this could happen, and that
> the exact effects are arch-specific.
I suspect port maintainers might want to go through and add pseudo registers
for things like condition code registers that are packed into a single special
purpos register. As a user, I would certainly welcome that.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482