[sr-dev] debug make target
Daniel-Constantin Mierla
miconda at gmail.com
Tue Dec 6 23:03:56 CET 2011
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
More information about the sr-dev
mailing list