Filename with "./" in breakpoint command
Eli Zaretskii
eliz@gnu.org
Tue Dec 6 20:13:00 GMT 2005
> 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.
More information about the Gdb
mailing list