This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Example code: gdb pseudo-registers


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]