This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Filename with "./" in breakpoint command


> 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.

To me, it is natural that ./foo.c means foo.c in the current dir, so
should be expande to $cdir/foo.c. So I like Daniel's suggestion.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]