This is the mail archive of the
mailing list for the GDB project.
On Tuesday 28 January 2003 20:45, Andrew Cagney wrote:
> Hi Andrew!
>> Turns out this has been done.
>> > We have also problems with registers. You were saying something that
>> > we should move all the registers (we have 8k+ registers with generated
>> > names) into the temporary storage (I hope all these won't get cached
>> > in the host...).
8k * 8 bytes ~= 64k.
Either that all lives in the text segment, or it is only allocated when
all the names are asked for.
I was referring more to register transfer. Most of the registers should not be
chached at all -- the value read from these special purpose registers (SPRs)
can differ in time/access. Some registers may also have clear-after-read,
FIFO implemented or any other obscure functionality.
The first thing that would need to be changed is the regcache. Have a
way of marking a register as un-cachable.