This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]