From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17323 invoked by alias); 24 Feb 2010 16:41:45 -0000 Received: (qmail 17296 invoked by uid 22791); 24 Feb 2010 16:41:44 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 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; Wed, 24 Feb 2010 16:41:41 +0000 Received: from ams by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NkKIs-0001jo-Jv; Wed, 24 Feb 2010 11:41:38 -0500 From: "Alfred M. Szmidt" To: Pedro Alves CC: gdb@sourceware.org, stefano.sabatini-lala@poste.it, gdb@sources.redhat.com In-reply-to: <201002231935.08620.pedro@codesourcery.com> (message from Pedro Alves on Tue, 23 Feb 2010 19:35:08 +0000) Subject: Re: How to show the file being executed? Reply-to: ams@gnu.org References: <20100220122449.GA9150@geppetto> <20100220140504.GA11702@geppetto> <201002231935.08620.pedro@codesourcery.com> Message-ID: Date: Wed, 24 Feb 2010 16:46: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/msg00168.txt.bz2 Message-ID: <20100224164600.cUdbNVKMwNjVJBxNx04OzfeUqwoJf2GW4CwQRPQcqRA@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 The original poster wanted the information from `file' as I understood it.