This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Filename with "./" in breakpoint command
> Date: Tue, 6 Dec 2005 06:55:59 -0500
> From: Bob Rossi <bob@brasko.net>
>
> However, unless I'm missing something, I don't think it makes sense to
> set multiple breakpoints.
>
> If the user types 'b ./foo.c' then that maps to exactly 1 file. If the
> file can be found, we could set the breakpoint. If the file can not be
> found, then we should give the error that there is no such file.
We are miscommunicating: multiple breakpoints were suggested for the
situation where the user types "b foo.c" and there are more than 1
file in the symtabs whose basename is foo.c.