Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: ams@gnu.org
Cc: gdb@sourceware.org,  stefano.sabatini-lala@poste.it
Subject: Re: How to show the file being executed?
Date: Wed, 24 Feb 2010 17:01:00 -0000	[thread overview]
Message-ID: <201002241646.42999.pedro@codesourcery.com> (raw)
In-Reply-To: <E1NkKIs-0001jo-Jv@fencepost.gnu.org>

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


  parent reply	other threads:[~2010-02-24 16:46 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 [this message]
2010-02-24 17:26             ` Pedro Alves
2010-02-25 15:28             ` Alfred M. Szmidt

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=201002241646.42999.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=ams@gnu.org \
    --cc=gdb@sourceware.org \
    --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