Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Alfred M. Szmidt" <ams@gnu.org>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb@sourceware.org, stefano.sabatini-lala@poste.it
Subject: Re: How to show the file being executed?
Date: Thu, 25 Feb 2010 15:28:00 -0000	[thread overview]
Message-ID: <E1NkKzy-0003iI-Kc@fencepost.gnu.org> (raw)
In-Reply-To: <201002241646.42999.pedro@codesourcery.com> (message from Pedro 	Alves on Wed, 24 Feb 2010 16:46:42 +0000)


   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.


      parent reply	other threads:[~2010-02-24 17:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-20 12:26 Stefano Sabatini
2010-02-20 12:37 ` Alfred M. Szmidt
2010-02-20 14:06   ` Stefano Sabatini
2010-02-23 19:25     ` Alfred M. Szmidt
2010-02-23 19:35       ` Pedro Alves
2010-02-23 20:51         ` Pedro Alves
2010-02-24 16:54         ` Alfred M. Szmidt
2010-02-24 16:46           ` Alfred M. Szmidt
2010-02-24 17:01           ` Pedro Alves
2010-02-24 17:26             ` Pedro Alves
2010-02-25 15:28             ` Alfred M. Szmidt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1NkKzy-0003iI-Kc@fencepost.gnu.org \
    --to=ams@gnu.org \
    --cc=gdb@sourceware.org \
    --cc=pedro@codesourcery.com \
    --cc=stefano.sabatini-lala@poste.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox