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

Re: [ns] [ns2] debugging using gdb.



On Sun, 8 Jul 2001, Wayne W. Szeto wrote:

i dont have any idea why this doesn't work, but i was able to enable
debugging by using the following commands

./configure --enable-debug
make clean
make


> Hi all,
>
> I have some problems doing debugging using gdb in ns2.  Basically gdb
> could't locate any ns2 source files, so I couldn't set break points or do
> anything useful.  I added the '-g' option to the makefile and "remake"
> everything.  I have tried setting the source directory path and object
> directory path to the ns2 directory in gdb but that doesn't work.  Is
> there some other options that I need to add in the makefile or some
> options that I need to set in gdb?  I'm aware that this question isn't
> directly related to ns2, but I thought that I'll get a faster response
> here if someone else on this mailing list had this problem before.
>
> Wayne
>

-- 
-------------------------------------------------------------
amardeep singh
iit  guwahati
[email protected]