This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: ST(i) and MMj
I certainly could be missing something...
> * Change functions that read and write registers from/to memory to
> handle the MMX registers specially by looking at the appropriate
> ST(i) register instead.
Which functions would these be, exactly?
On the i386, both variable references and direct register references
(like $eax) go through (via a torturous chain of calls)
read_register_gen, which just reaches directly into the register file.
I think I'd need to see a very specific explanation of how to do this,
showing which functions to change, etc. Talking about it at a higher
level is just getting confusing.