From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18831 invoked by alias); 9 Jun 2011 09:27:41 -0000 Received: (qmail 18822 invoked by uid 22791); 9 Jun 2011 09:27:40 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Jun 2011 09:27:26 +0000 Received: (qmail 8715 invoked from network); 9 Jun 2011 09:27:24 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 9 Jun 2011 09:27:24 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: ReBranch - a record-replay debugging tool Date: Thu, 09 Jun 2011 09:27:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; ) Cc: pi3orama References: <1307602807.17016.ezmlm@sourceware.org> <4DF0748B.2060703@gmail.com> In-Reply-To: <4DF0748B.2060703@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106091027.20575.pedro@codesourcery.com> 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: 2011-06/txt/msg00043.txt.bz2 On Thursday 09 June 2011 08:21:47, pi3orama wrote: > Hi, > > I developed a new record-replay tool -- ReBranch > (http://code.google.com/p/rebranch/), which focus on debugging > non-deterministic bugs. ReBranch can record the outgoing addresses of > every branch instructions, and recreate the whole control flow when > debugging. I have use it to fix some bugs in real open source projects > such as lighttpd and memcached. Unfortunately, few people knows this > project at google code, so nearly no one uses it. Nice! > > I know that GDB has its own record-replay. However, I still believe > ReBranch is useful: ReBranch focus on recording in production systems, > its record performance is better than GDB's recording, it can record > whole program path (GDB can only record part of it), and most important, > ReBranch can be used in multi-threading programs. Can you outline ReBranch's record/replay strategy, and how it differs from GDB's record? > I send this mail because I eagerly expect people to use my tool on their > developing process, and help me to improve it. And also, I want the > replay tool to be more integrated with GDB -- currently ReBranch use a > modified gdbserver to do the replay work, however, because ReBranch only > records control-flow, the replay performance is far from prefect. Since it based on modified gdbserver sources, making it a derivative work, it must be GPLv3, right? I ask because the website says MIT license. -- Pedro Alves