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

Re: [ns] Problem debugging C++ using gdb.





tried "break 'MyQueue::enque<TAB>"?

did you start gdb passing ns as an argument?

>Date: Mon, 13 Nov 2000 15:15:48 -0800 (PST)
>From: Canhui Ou <[email protected]>
>Subject: Re: [ns] Problem debugging C++ using gdb.
>To: Tarik Alj <[email protected]>
>Cc: [email protected]
>MIME-Version: 1.0
>
>Hi Tarik,
>
>Thanks for you suggestions (delete all the .o files
>and recompile is a good idea). Unfortunately, it
>doesn't work. To make things worse, I can't even set
>breakpoints if I set CCOPT = -g. Say I have function
>prototype MyQueue::enque(Packet *). I tried to set a
>breakpoint at the entry of this function by "b
>MyQueue::enque(Packet *)" and got an error message
>""MyQueue" is not a function".
>
>What's the matter?
>
>Regards,
>Canhui
>