This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
whodunnit? info sources now returns duplicates
- From: David Lecomber <david at streamline-computing dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 15 Sep 2004 11:14:56 +0100
- Subject: whodunnit? info sources now returns duplicates
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.