[ns] help - "no debugging symbols found" when debugging ns code
Zhang Shangying
shangyingzh at gmail.com
Thu Oct 30 01:45:50 PDT 2008
Dear Wang Hui,
I have also tried the debugging method from "SeaSon from DB-LAB of HIT"
, but failed as well.
2008/10/30 Íõ»Ô <whstreak at gmail.com>
> Hi,
> Just refer to the GDB debug instruction from "SeaSon from DB-LAB of HIT".
>
> Cheers,
> Wang Hui
>
>
> 2008/10/30 Zhang Shangying <shangyingzh at gmail.com>
>
>
>> 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