From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12460 invoked by alias); 23 Feb 2010 19:25:47 -0000 Received: (qmail 12431 invoked by uid 22791); 23 Feb 2010 19:25:46 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_50 X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Feb 2010 19:25:43 +0000 Received: from ams by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nk0O4-0000KA-D6; Tue, 23 Feb 2010 14:25:40 -0500 From: "Alfred M. Szmidt" To: Stefano Sabatini CC: gdb@sources.redhat.com In-reply-to: <20100220140504.GA11702@geppetto> (message from Stefano Sabatini on Sat, 20 Feb 2010 15:05:04 +0100) Subject: Re: How to show the file being executed? Reply-to: ams@gnu.org References: <20100220122449.GA9150@geppetto> <20100220140504.GA11702@geppetto> Message-Id: Date: Tue, 23 Feb 2010 19:25:00 -0000 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: 2010-02/txt/msg00159.txt.bz2 I want to show *only* the local exec file as specified by the "file" command, and within a gdb script, currently the only way I see is to use info target. You can probobly use the `shell' command, and set that somehow.