From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8317 invoked by alias); 7 Dec 2007 15:45:50 -0000 Received: (qmail 8292 invoked by uid 22791); 7 Dec 2007 15:45:49 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Dec 2007 15:45:40 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 6112298367; Fri, 7 Dec 2007 15:45:39 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 47237982D9; Fri, 7 Dec 2007 15:45:39 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1J0fOU-0002lb-BV; Fri, 07 Dec 2007 10:45:38 -0500 Date: Fri, 07 Dec 2007 16:21:00 -0000 From: Daniel Jacobowitz To: "Maciej W. Rozycki" Cc: Jim Blandy , gdb-patches@sourceware.org, "Maciej W. Rozycki" Subject: Re: Target-specific command logging facility Message-ID: <20071207154538.GA10618@caradoc.them.org> Mail-Followup-To: "Maciej W. Rozycki" , Jim Blandy , gdb-patches@sourceware.org, "Maciej W. Rozycki" References: <20071207151058.GA6243@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-12/txt/msg00130.txt.bz2 On Fri, Dec 07, 2007 at 03:36:05PM +0000, Maciej W. Rozycki wrote: > MDI support provides its own logging facility which lets the user ask for > commands issued to GDB to be passed down to the target. The target may > than place these commands within its own log file (which will typically > provide additional data beyond the scope of GDB itself, such as the record > of transactions performed at the JTAG port) which lets one see what > actions at the target result from each of the GDB command. Useful for > debugging the MDI target itself. Ah, I see. Yes, that does sound useful. Perhaps we should get MI targets to log commands similarly, if they don't already, and a way to do this same nice trick to stubs speaking the ordinary remote protocol. -- Daniel Jacobowitz CodeSourcery