This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
regarding recording of registers....
- From: paawan oza <paawan1982 at yahoo dot com>
- To: Hui Zhu <teawater at gmail dot com>, Michael Snyder <msnyder at vmware dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 7 Aug 2009 00:25:35 -0700 (PDT)
- Subject: 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.