From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23659 invoked by alias); 30 Apr 2009 07:59:39 -0000 Received: (qmail 23651 invoked by uid 22791); 30 Apr 2009 07:59:38 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ti-out-0910.google.com (HELO ti-out-0910.google.com) (209.85.142.185) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Apr 2009 07:59:33 +0000 Received: by ti-out-0910.google.com with SMTP id a1so178291tib.12 for ; Thu, 30 Apr 2009 00:59:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.110.26.8 with SMTP id 8mr102057tiz.12.1241078370298; Thu, 30 Apr 2009 00:59:30 -0700 (PDT) Date: Thu, 30 Apr 2009 07:59:00 -0000 Message-ID: Subject: Process record and replay checked in to main trunk From: Hui Zhu To: "gdb-patches@sourceware.org" Cc: Pedro Alves , Marc Khouzam , Michael Snyder , Thiago Jung Bauermann , Eli Zaretskii , Mark Kettenis Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2009-04/txt/msg00806.txt.bz2 Hi guys, Process record and replay make gdb can record inferior execute log and replay (include reverse debug). Now, it support I386-Linux single-thread single-inferior native debug. It was checked in today. Thanks for evey people that spent time on process record. Precord can't be a part of gdb without your help. Thank you very much. :) And precord still has a long way to go. There have a lot of thing need to do: 1. Support i386 more better. Now, precord doesn't support mmx insns, support fp insns not very well and doesn't support a lot of insns. 2. Support more arches. X86-64 is the first one (linux-record.c). MIPS, ARM and so on. 3. Support memory free better. Now, precord just can output a warning for memumap. It can do nothing when there is a sys_brk to free the memory. I had make a patch to output a warning when there is a sys_brk to free the memory and make a plan to make precord can support free memory. I will keep work on it. 4. Support multi-thread and multi-inferior. I remember Pedro make a patch for reverse debug resume. I think we need this patch when multi-inferior check in. 5. Make record speed up and need less memory. I have made a plan to make p record doesn't record execution log of some functions (It can set), for example some functions in glibc. 6. Make execution log can dump out to be a file and can replay for next time. Maybe it can make together with coredump support. It must be a cool function. :) Guys, please work on it if you interesting with some of them. And feel free tell me your ideas and comments. It will help precord a lot. Thanks, Hui