solved: Re: [olsr-dev] using gdb on the plugins

Jens Nachtigall (spam-protected)
Fri Nov 19 13:22:33 CET 2004


> using the gdb on olsrd works fine. However, I cannot
> get the gdb properly working on the plugins, i.e.
> step into the plugins

In the end it was quite easy :->

One has to had a line like this 
CFLAGS ?=  -g

There are already two "-g" options in the Makefile, which is why I 
somewhat took it for granted that the plugin would be compiled with the 
-g option set.

BTW, adding a -O2 to the CFLAGS might be a good idea as well. Maybe this 
could be added to the cvs (plus a strip for "make install").


Jens




-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20041119/390dd674/attachment.sig>


More information about the Olsr-dev mailing list