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

[ns] [ns2] debugging using gdb.



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