[ns] help - "no debugging symbols found" when debugging ns code
Zhang Shangying
shangyingzh at gmail.com
Wed Oct 29 20:58:54 PDT 2008
Hi all,
I try to debug ns2 code (ns-2.33) by using gdb under cygwin. I have
entered the following command under the path (ns-allinone-2.33\ns-2.33):
./configure --enable-debug
make clean
make depend
make
gdb ns.exe
By the way, I have also tried added -g in the Makefile (CCOPT = -g
-Wall) or in Makefile.in (CFLAGS += -g $(CCOPT) $(DEFINE) ). But I still
cann't debug ns code.
The following is the output of gdb.
----------------------------
$ gdb ns.exe
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(no debugging symbols found)
(gdb)
-------------------------------
Can anyone kindly give me a hint?
Thanks in advance!
Best regards
Shangying Zhang
More information about the Ns-users
mailing list