This is the mail archive of the gdb-patches@sourceware.org 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]

regarding recording of registers....


Hi Hui & Michael,

There has been one thing I have been thinking. May be I will need your opinions.

there are many registers we save and sometimes we may not be 100% sure, for e.g. some staus registers like eflags, or any status, control, opcode registers whose change depedns purely on the current state of the syetem and more precisely current instruction's execution.

so how about implementing a cache mechinism (or it may be already there), which has a state of all registers all the time, and we record only those registers which are actauylly changed.as and wehn it is changed we update cache. this has intension to save record memory. of course this is only applicable when we are in record mode.

I would be looking forward to having some inputs whether this is a good idea to do !

Regards,
Oza.










      


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