Finding a Source File

Johan Rydberg johan.rydberg@netinsight.se
Mon Mar 6 10:42:00 GMT 2000


Tennis Smith wrote:
> 
> Hi,
> 
> I'm trying to set a breakpoint in a file that is indirectly
> included in my project.  When I try to set a breakpoint
> on it, the following message occurs:
> 
> No source file named MismatchedTokenException.cpp.
> 
> The file lives in a separate tree which contains various support
> routines.  I've added to my path the location of the file, but

Test this:

(gdb) dir $cdir:$cwd:/tmp
Source directories searched: $cdir:$cwd:/tmp

I hope you get the idea.

-- 
Johan Rydberg			johan.rydberg@netinsight.net
Net Insight AB, Sweden		direct: +46-8-685 04 17
http://www.netinsight.net	phone:  +46-8-685 04 00
				fax:    +46-8-685 04 20


More information about the Gdb mailing list