Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* whodunnit?  info sources now returns duplicates
@ 2004-09-15 10:12 David Lecomber
  2004-09-15 17:49 ` Andrew Cagney
  2004-09-15 18:10 ` Daniel Jacobowitz
  0 siblings, 2 replies; 5+ messages in thread
From: David Lecomber @ 2004-09-15 10:12 UTC (permalink / raw)
  To: gdb

This is a regression bug -- the version I have tested this are 
from CVS on 2004-08-17, and 2004-06-22.  

Any test program:

foo/test.c

int main() {
	int x;
}

now compile - but in the directory above foo.

gcc -g foo/test.c

run gdb ./a.out 

For 20040622, only foo/test.c is listed in info sources (correct)
For 20040817 (and recent 20040913) foo/test.c and test.c are listed..
(incorrect)

When you add a breakpoint to main, and do info sources, the duplicate
vanishes..

Any takers?

d.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-16 16:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-15 10:12 whodunnit? info sources now returns duplicates David Lecomber
2004-09-15 17:49 ` Andrew Cagney
2004-09-15 18:10 ` Daniel Jacobowitz
2004-09-15 22:11   ` Jim Blandy
2004-09-16 16:26     ` Andrew Cagney

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