[Converted from Gnats 2357] Strange errors occur during normal use if a source file's name contains a space. One example, with a source file named "Test File": Starting program: /home/hippo/c/a.out Error in re-setting breakpoint 1: Function "Test" not defined. Error in re-setting breakpoint 1: Function "Test" not defined. Error in re-setting breakpoint 1: Function "Test" not defined. Program exited normally. A few cursory Google searches give me the impression this bug has been hanging around in GDB for a while now. Release: GNU gdb 6.7 Environment: Ubuntu 7.10 Gutsy Gibbon (Linux Thoth 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux) gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) This GDB was configured as "i686-pc-linux-gnu". How-To-Repeat: $ echo "int main(void) {return 0;}" > "Test File" $ gcc -x c -g "Test File" $ gdb ./a.out (gdb) break 1 (gdb) r
(gdb) start Temporary breakpoint 1 at 0x4004f4: file Test File, line 1. Starting program: a.out Temporary breakpoint 1, main () at Test File:1 1 int main(void) {return 0;} Therefore, closing as OBSOLETE.