[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ddd cant find paths that gdb can

From: Rustom Mody
Subject: ddd cant find paths that gdb can
Date: Fri, 16 Jan 2009 18:56:59 +0530

I have a large source tree that I am trying to debug with DDD.
It works with gdb.
But when I use DDD to debug sources, and try to set a breakpoint as in
gdb (actually at the gdb console in DDD) it complains:

No source file named <name-of-file>

The gdb behavior is that when the bp is set it says:
function <name> not defined
breakpoint 1 <name> pending

Then a run command works fine and comes to the correct source line

Note1: The file is there and Ive tried giving relative and absolute paths
Note2:Tried to add the paths into sources and object directories but
is seems to make no difference

So it seems that gdb is able to find and debug into dynamically loaded
files but DDD cant??

reply via email to

[Prev in Thread] Current Thread [Next in Thread]