Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Bob Rossi <bob@brasko.net>
To: GDB <gdb@sources.redhat.com>
Subject: info sources command question
Date: Wed, 23 Nov 2005 18:31:00 -0000	[thread overview]
Message-ID: <20051123165548.GA3114@white> (raw)

Hi all!

I have a simple program in a single file called test.c.

If I load it up in GDB, and then as the first command run 
'info sources', I get this output:

  (tgdb) info sources
  Source files for which symbols have been read in:

  /home/bob/cvs/cgdb/cgdb/cgdb/tgdb/tgdb-base/src/test.c

  Source files for which symbols will be read in on demand:

  crtn.S,
  test.c, crti.S, 
  start.S, ../sysdeps/i386/elf/start.S

The question I have regarding this output is if we think test.c should
be in the list twice. Once with a full path, and once with just the
filename. Is this proper output? or should it be in there only once?
Unless otherwise stated, it seems like a bug to me. Especially since the
full path is in the "already read symbols list" and the filename is in
the "Symbols will be read in" list.

Thanks,
Bob Rossi


                 reply	other threads:[~2005-11-23 16:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20051123165548.GA3114@white \
    --to=bob@brasko.net \
    --cc=gdb@sources.redhat.com \
    /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