gdb and files with the same names

Witold Filipczyk <[email protected]>
Newsgroups gmane.comp.web.links
Message-ID <20060826185655.GA3985@pldmachine>
Hi,
Having files with the same names in the project is bad, because gdb
cannot deal with them in the right way. gdb remembers only basenames,
because object files are built from directory where sources are stored.
When gdb meet eg. renderer.c, it doesn't know which file it is.
I have a problem with debugging ELinks using setedit. It by mistake
opens src/dom/select.c instead of src/main/select.c.
Renaming files will solve the problem.

Do you mind if I rename duplicates?
Do you have any suggestion how to name those files?

I cannot agree, that gdb is broken, IMHO build process of ELinks
is broken and there shouldn't be duplicate filenames.
-- 
Witek

_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.