Hello,

there is the option of doing

make mode=debug ...

but it is enabling extra debug logs in the sources, otherwise -g is used always at least for intel/amd. I guess -O9 is also given always, I don't know the real impact in striping any symbols with relevance on debugging, you can remove it from Makefile.defs, no command line option for it afaik.

Cheers,
Daniel

On 12/6/11 4:26 PM, Alex Balashov wrote:
Sorry for the stupid question, but is there a generic toplevel make target that will compile Kamailio/SR in ways maximally suitable for GDB analysis, e.g.

- Without optimisations that strip out some symbols and values.
- With -g, -ggdb, etc.

Thanks!


--
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to