REGISTER_BYTE() and pseudos

Richard Earnshaw rearnsha@arm.com
Wed May 15 11:08:00 GMT 2002


OK, I see what you are doing.  Basically, if a pseudo maps onto a real 
register somewhere in the regcache, you return the address of that.

However, what should be done if the pseudo doesn't exist as a single 
entry, or if it is a manipulation of a real register?  For example, on the 
ARM, the CPSR may be just a few bits retrieved from the PC.

Also, what would you do if you needed to address two non-adjacent 
registers?

R.



More information about the Gdb mailing list