Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* MI: -file-list-exec-source-files
@ 2006-06-02  0:30 Nick Roberts
  2006-06-02 19:37 ` Jim Blandy
  2006-06-02 20:24 ` Daniel Jacobowitz
  0 siblings, 2 replies; 16+ messages in thread
From: Nick Roberts @ 2006-06-02  0:30 UTC (permalink / raw)
  To: gdb



The command "-file-list-exec-source-files" often (always?) prints out each
file twice:

-file-list-exec-source-files
^done,files=[{file="myprog.c",fullname="/home/nickrob/myprog.c"},{file="myprint.c",fullname="/home/nickrob/myprint.c"},{file="myprint.c",fullname="/home/nickrob/myprint.c"},{file="myprog.c",fullname="/home/nickrob/myprog.c"}]

Looking at the code I had hoped that one cane from the symbol table and the
other from the partial symbol table but in fact, when I try it, they both
come from the partial symbol table.  When the program being debugged has lots
of source files (1000's) this is very wasteful, so I would like to make this
command just print out each file once.  Before I do I'd like to ask:

Why does the partial symbol table have duplicate copies?

Is it safe to assume that duplicates will occur consecutively?

-- 
Nick                                           http://www.inet.net.nz/~nickrob


^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <1149277048.21408.ezmlm@sourceware.org>]

end of thread, other threads:[~2006-06-06  8:01 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-02  0:30 MI: -file-list-exec-source-files Nick Roberts
2006-06-02 19:37 ` Jim Blandy
2006-06-02 19:38   ` Bob Rossi
2006-06-02 20:24 ` Daniel Jacobowitz
     [not found] <1149277048.21408.ezmlm@sourceware.org>
2006-06-02 23:31 ` susan
2006-06-03  0:05   ` Jim Blandy
2006-06-03  0:46     ` Susan Macchia
2006-06-03  1:28       ` Nick Roberts
2006-06-03  9:46         ` Eli Zaretskii
2006-06-03 22:26           ` Nick Roberts
2006-06-03 22:35             ` Daniel Jacobowitz
2006-06-04  0:04               ` Nick Roberts
2006-06-04  2:50                 ` Daniel Jacobowitz
2006-06-04  3:34               ` Eli Zaretskii
2006-06-06  8:01                 ` Nick Roberts
2006-06-03  1:39       ` Bob Rossi

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