Re: debuging postgres

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: debuging postgres
Дата
Msg-id 412B26A7.7020406@bigfoot.com
обсуждение исходный текст
Ответ на Re: debuging postgres  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: debuging postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: debuging postgres  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
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










В списке pgsql-hackers по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: 8.0 beta 1 on linux-mipsel R5900
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.0 beta 1 on linux-mipsel R5900