This is the mail archive of the gdb@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]
Other format: [Raw text]

Re: REGISTER_BYTE() and pseudos


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.


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