From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21139 invoked by alias); 7 Nov 2008 19:03:56 -0000 Received: (qmail 21027 invoked by uid 22791); 7 Nov 2008 19:03:54 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Nov 2008 19:03:05 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 6F54349007; Fri, 7 Nov 2008 11:03:02 -0800 (PST) Received: from [10.20.92.59] (promb-2s-dhcp59.eng.vmware.com [10.20.92.59]) by mailhost3.vmware.com (Postfix) with ESMTP id 60E1AC9AA9; Fri, 7 Nov 2008 11:03:02 -0800 (PST) Message-ID: <49148F1E.5090506@vmware.com> Date: Fri, 07 Nov 2008 19:03:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Marc Khouzam CC: teawater , "gdb-patches@sourceware.org" Subject: Re: [RFA] Process record and replay, 8/10 References: <6D19CA8D71C89C43A057926FE0D4ADAA0674529F@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA0674529F@ecamlmw720.eamcs.ericsson.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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: 2008-11/txt/msg00138.txt.bz2 Marc, Try running gdbarch.sh, and then renaming the generated files appropriately. Looks like an oversight. Michael Marc Khouzam wrote: > Hi, > > I just couldn't wait and wanted to try this out. > I applied all 10 patches, but my compilation fails. > > cc1: warnings being treated as errors > ../../src/gdb/i386-tdep.c: In function ‘i386_gdbarch_init’: > ../../src/gdb/i386-tdep.c:5536: warning: implicit declaration of function ‘set_gdbarch_process_record’ > > When I grep for gdbarch_process_record in the set of patches, I see some new methods > being used but never declared. Am I missing a patch? Or have I been coding with Java too long :-) > > Thanks > > Marc > > >> -----Original Message----- >> From: gdb-patches-owner@sourceware.org >> [mailto:gdb-patches-owner@sourceware.org] On Behalf Of teawater >> Sent: Thursday, November 06, 2008 2:51 AM >> To: gdb-patches@sourceware.org >> Subject: [RFA] Process record and replay, 8/10 >> >> This patch add code to make I386 architecture support process >> record and replay. >> >> 2008-11-06 Hui Zhu >> >> I386 architecture process record and replay support. >> >> * i386-tdep.c (PREFIX_REPZ, PREFIX_REPNZ, PREFIX_LOCK, >> PREFIX_DATA, PREFIX_ADDR): New macros. Help decode the I386 >> instruction. >> (aflag, dflag, override, modrm, mod, reg, rm, ot, >> i386_record_pc): New variables. Ditto. >> (i386_record_modrm, i386_record_lea_modrm_addr, >> i386_record_lea_modrm): New functions. Ditto. >> (i386_process_record): New function. Parse the instruction in >> address "addr" and record the values of registers and memory >> that will be change in this instruction. >> (i386_gdbarch_init): Set "i386_process_record" to GDBARCH >> "process_record" interface. >> * i386-tdep.h (gdbarch_tdep): New function pointers >> "i386_intx80_record" and "i386_sysenter_record" that point to >> the function can record "intx80" and "sysenter" execute log. >> >> i386-tdep.c | 2706 >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> i386-tdep.h | 3 >> 2 files changed, 2709 insertions(+) >>