From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25144 invoked by alias); 12 Apr 2007 00:51:42 -0000 Received: (qmail 25136 invoked by uid 22791); 12 Apr 2007 00:51:41 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.palmsource.com (HELO mx1.palmsource.com) (12.7.175.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Apr 2007 01:51:39 +0100 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id 5CC055F103; Wed, 11 Apr 2007 17:51:38 -0700 (PDT) Received: from mx1.palmsource.com ([127.0.0.1]) by localhost (mx1.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30912-06-3; Wed, 11 Apr 2007 17:51:35 -0700 (PDT) Received: from ussunex03.svl.access-company.com (ussunm001.palmsource.com [192.168.101.12]) by mx1.palmsource.com (Postfix) with ESMTP id 5F2B15F242; Wed, 11 Apr 2007 17:51:35 -0700 (PDT) Received: from 192.168.92.56 ([192.168.92.56]) by ussunex03.svl.access-company.com ([192.168.101.12]) via Exchange Front-End Server owa.access-company.com ([10.0.20.19]) with Microsoft Exchange Server HTTP-DAV ; Thu, 12 Apr 2007 00:53:03 +0000 Received: from svmsnyderlnx by owa.access-company.com; 11 Apr 2007 17:51:38 -0700 Subject: Re: [RFA] set debug mi From: Michael Snyder To: Jason Molenda Cc: gdb-patches@sources.redhat.com In-Reply-To: <2FBCCFDF-95E9-43E5-88A3-F2B26EDC5CE0@apple.com> References: <1176335457.26620.48.camel@svmsnyderlnx.palmsource.com> <2FBCCFDF-95E9-43E5-88A3-F2B26EDC5CE0@apple.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 12 Apr 2007 00:51:00 -0000 Message-Id: <1176339097.26620.55.camel@svmsnyderlnx.palmsource.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 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: 2007-04/txt/msg00154.txt.bz2 On Wed, 2007-04-11 at 17:42 -0700, Jason Molenda wrote: > On Apr 11, 2007, at 4:50 PM, Michael Snyder wrote: > > > Anybody think this is useful? > > We do something similar at Apple but we have our front-end program > deal with it. The UI has a preference to save the mi log to a file; > it saves all communication between gdb and the FE to that file. It's > invaluable for debugging bug reports - it's invariably the first thing > we ask for when someone reports a bug against our debugger. Besides > pointing the finger at either gdb or the front-end it has the benefit > of showing exactly what commands were sent to the debugger, instead of > relying on the user's memory of the same. > > I think the approach of having all I/O between the debugger and the FE > saved is superior but having something like this built in to gdb could > be helpful for people who can't do that easily in the FE. Eclipse also has a similar option. I just thought it might be handy to have the facility on the gdb end as well. By obvious analogy with "debug remote".