As discussed in thread http://sources.redhat.com/ml/gdb-patches/2006-10/msg00090.html about the TUI that did not display windows source files, I propose a patch that treats source files where end-of-line are '\r' only. The struct symtab fulfilled by find_source_lines was wrong, the field nlines was set to 1. Therefore these files can not be open in the TUI for instance. Denis