From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22344 invoked by alias); 23 Feb 2010 19:35:18 -0000 Received: (qmail 22321 invoked by uid 22791); 23 Feb 2010 19:35:17 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 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; Tue, 23 Feb 2010 19:35:13 +0000 Received: (qmail 25834 invoked from network); 23 Feb 2010 19:35:11 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 23 Feb 2010 19:35:11 -0000 From: Pedro Alves To: gdb@sourceware.org, ams@gnu.org Subject: Re: How to show the file being executed? Date: Tue, 23 Feb 2010 20:51:00 -0000 User-Agent: KMail/1.12.2 (Linux/2.6.31-19-generic; KDE/4.3.2; x86_64; ; ) Cc: Stefano Sabatini , gdb@sources.redhat.com References: <20100220122449.GA9150@geppetto> <20100220140504.GA11702@geppetto> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <201002231935.08620.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: 2010-02/txt/msg00161.txt.bz2 Message-ID: <20100223205100.oejUdlTgHdipUkqDYSw1oSJhBhlVDCwOMor90u2W3zM@z> Starting with gdb 7.1, "info inferiors" shows you the executable of each inferior. (top-gdb) info inferiors Num Description Executable * 1 process 25218 /home/pedro/gdb/baseline/build/gdb/gdb -- Pedro Alves