From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16221 invoked by alias); 24 Feb 2010 17:26:18 -0000 Received: (qmail 16186 invoked by uid 22791); 24 Feb 2010 17:26:17 -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 17:26:13 +0000 Received: from ams by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NkKzy-0003iI-Kc; Wed, 24 Feb 2010 12:26:10 -0500 From: "Alfred M. Szmidt" To: Pedro Alves CC: gdb@sourceware.org, stefano.sabatini-lala@poste.it In-reply-to: <201002241646.42999.pedro@codesourcery.com> (message from Pedro Alves on Wed, 24 Feb 2010 16:46:42 +0000) Subject: Re: How to show the file being executed? Reply-to: ams@gnu.org References: <20100220122449.GA9150@geppetto> <201002231935.08620.pedro@codesourcery.com> <201002241646.42999.pedro@codesourcery.com> Message-Id: Date: Thu, 25 Feb 2010 15:28: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/msg00173.txt.bz2 On Wednesday 24 February 2010 16:41:38, Alfred M. Szmidt wrote: > (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. `file FOO' is actually just short hand for: `exec-file FOO' + `symbol-file FOO'. `info inferiors' shows you the FOO from `exec-file FOO'. We are on different wave lengths, when I wrote `file' I meant the command line program, not the GDB command. Which `info file' has similar information too at the start.