From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13103 invoked by alias); 13 May 2009 16:17:36 -0000 Received: (qmail 13093 invoked by uid 22791); 13 May 2009 16:17:34 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from web36202.mail.mud.yahoo.com (HELO web36202.mail.mud.yahoo.com) (209.191.68.228) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 13 May 2009 16:17:26 +0000 Received: (qmail 4946 invoked by uid 60001); 13 May 2009 16:17:24 -0000 Message-ID: <407871.4297.qm@web36202.mail.mud.yahoo.com> Received: from [123.237.143.242] by web36202.mail.mud.yahoo.com via HTTP; Wed, 13 May 2009 09:17:24 PDT Date: Wed, 13 May 2009 16:17:00 -0000 From: paawan oza Subject: MMX & Floating point insn suport for reversible debugging To: Hui Zhu Cc: Thiago Jung Bauermann , gdb ml , Pedro Alves , Marc Khouzam , Michael Snyder , Eli Zaretskii , Mark Kettenis MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00069.txt.bz2 Hi Hui, file : linux-tdep.c function : i386_process_record here I start adding floating point register support. I think it records the memory so remaining thing for floating point is store registers st0 to st7. code to be added here... /* floats */ /* It just record the memory change of instrcution. */ case 0xd8: case 0xd9: case 0xda: case 0xdb: case 0xdc: case 0xdd: case 0xde: case 0xdf: I am not sure ptrace will give FPU affected flags !!! and another thing is ; take floating point insn opcode mnemnic desc DE F9 FDIVP Divide ST(1) by ST(0), store result in ST(1), and pop the register stack. I do not think code is taking care of 2 bytes floating instruction.. I suspoe ModR/M and SIB byte encoding is taken care with respect to floating point. please clarify. Regards, Oza.