From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23846 invoked by alias); 7 Aug 2009 07:25:47 -0000 Received: (qmail 23836 invoked by uid 22791); 7 Aug 2009 07:25:46 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_72 X-Spam-Check-By: sourceware.org Received: from web112501.mail.gq1.yahoo.com (HELO web112501.mail.gq1.yahoo.com) (98.137.26.74) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Fri, 07 Aug 2009 07:25:37 +0000 Received: (qmail 32083 invoked by uid 60001); 7 Aug 2009 07:25:35 -0000 Message-ID: <768187.31536.qm@web112501.mail.gq1.yahoo.com> Received: from [123.237.137.139] by web112501.mail.gq1.yahoo.com via HTTP; Fri, 07 Aug 2009 00:25:35 PDT Date: Fri, 07 Aug 2009 08:39:00 -0000 From: paawan oza Subject: regarding recording of registers.... To: Hui Zhu , Michael Snyder Cc: "gdb-patches@sourceware.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00103.txt.bz2 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.