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]
Other format: [Raw text]

Re: OC?


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.

Andrew,

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.
Ah, sorry.

The first thing that would need to be changed is the regcache. Have a way of marking a register as un-cachable.

Andrew


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