From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25036 invoked by alias); 20 May 2005 21:25:04 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24988 invoked from network); 20 May 2005 21:24:59 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 20 May 2005 21:24:59 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j4KLOxId007916 for ; Fri, 20 May 2005 17:24:59 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j4KLOwO16854; Fri, 20 May 2005 17:24:59 -0400 Received: from [172.16.24.50] (bluegiant.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id j4KLOva8010890; Fri, 20 May 2005 17:24:57 -0400 Message-ID: <428E55A8.3070109@redhat.com> Date: Fri, 20 May 2005 21:25:00 -0000 From: Michael Snyder User-Agent: Mozilla Thunderbird (X11/20050322) MIME-Version: 1.0 To: Dan Shearer , gdb@sources.redhat.com Subject: Re: [discuss] Support for reverse-execution Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-05/txt/msg00239.txt.bz2 > In general I really like the idea of GDB better catering to > non-remote simulators. You'll notice that almost none of the > whole-system simulators in the free software world have > integrated debugging and I'd >love to make that easier. Traditionally, that's how we used to do it, and we still can (see src/sim). I think we've tended in the direction of letting the sim be a separate program because sims like SID are so big. Linking them in to gdb would make both huge. The approach of using the remote protocol is very flexible. The debugger and the sim can be running on the same host, or on opposite sides of the planet. If they're on the same host, running packets thru a socket really doesn't slow us down all that much. But there is a function-call interface for linking gdb to a sim if its wanted.