Christopher Kings-Lynne wrote:

in order to debug "step by step" the postmaster,
just to understand better the code, is it enough
to compile it after having exported:

CFLAGS='-O0 -g' ?

do you have any hint and/or tips ?

BTW what do you use for this task ?


./configure --enable-debug

Is this enough? I'm seeing that with --enable-debug only the option -g is passed to the compiler and the option -O2 is still there, is it not better compile with -O0 if you are going to debug it?


Regards Gaetano Mendola









---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to