Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* info sources command question
@ 2005-11-23 18:31 Bob Rossi
  0 siblings, 0 replies; only message in thread
From: Bob Rossi @ 2005-11-23 18:31 UTC (permalink / raw)
  To: GDB

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-23 16:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-23 18:31 info sources command question Bob Rossi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox