This is the mail archive of the gdb@sourceware.cygnus.com 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]

Re: Finding a Source File


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

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