From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24373 invoked by alias); 24 Feb 2010 16:46:53 -0000 Received: (qmail 24351 invoked by uid 22791); 24 Feb 2010 16:46:52 -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; Wed, 24 Feb 2010 16:46:46 +0000 Received: (qmail 6240 invoked from network); 24 Feb 2010 16:46:45 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 24 Feb 2010 16:46:45 -0000 From: Pedro Alves To: ams@gnu.org Subject: Re: How to show the file being executed? Date: Wed, 24 Feb 2010 17:01:00 -0000 User-Agent: KMail/1.12.2 (Linux/2.6.31-19-generic; KDE/4.3.2; x86_64; ; ) Cc: gdb@sourceware.org, stefano.sabatini-lala@poste.it References: <20100220122449.GA9150@geppetto> <201002231935.08620.pedro@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201002241646.42999.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/msg00170.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'. -- Pedro Alves