Building a debug version of mserver5?
Dear all, I need to build a debug version of mserver5 in order to attach gdb to it to debug my bulk version of a UDF. How exactly do I go about this? It seems there is no debug target in the standard Makefile. Best regards, Alastair
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-01-14 16:18, Alastair McKinley wrote:
Dear all,
I need to build a debug version of mserver5 in order to attach gdb to it to debug my bulk version of a UDF.
How exactly do I go about this? It seems there is no debug target in the standard Makefile.
Best regards,
Alastair
Run configure with extra options: --enable-debug --enable-assert --disable-optimize Then recompile everything - -- Sjoerd Mullender -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQCVAwUBUtVdkT7g04AjvIQpAQLuOAP/SUEYGaStZZFwWSIfpb5J42Zb9AbEf00O 6anyKhP92RAuoaDx4dhLCNyOURFtqua6FVC1GIO3OtJuWXAwRSxu9mndZVw89Atn f9qyfSl4KNHdbHXcnAjxsYBjHdvmZcFMGp0QXy6flGXAehLwsR/OcBhOkWGDO3QL zjEwLBC5iL0= =z4oD -----END PGP SIGNATURE-----
participants (2)
-
Alastair McKinley
-
Sjoerd Mullender