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]

Re: whodunnit? info sources now returns duplicates


Lets use this to remind ourselves that what we don't test (as in gdb/testsuite/) doesn't work.

Andrew

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..



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