Re: [HACKERS] Debugging PostgreSQL with GDB

2008-04-01 Thread Andrew Dunstan
Manolo SupaMA wrote: Hi. I have problems on how to debug PostgreSQL on Linux using GDB. I made some changes to src/backend/utils/sort/tuplesort.c but it hangs while performing run formation (where my changes are). I configured it using ./configure --prefix="/usr/local/pgsql/8.3/" CFLAGS="

Re: [HACKERS] Debugging PostgreSQL with GDB

2008-04-01 Thread korry
I have problems on how to debug PostgreSQL on Linux using GDB. I made some changes to src/backend/utils/sort/tuplesort.c but it hangs while performing run formation (where my changes are). I configured it using ./configure --prefix="/usr/local/pgsql/8.3/" CFLAGS="-O0 -DTRACE_SORT" --enable-

[HACKERS] Debugging PostgreSQL with GDB

2008-04-01 Thread Manolo SupaMA
Hi. I have problems on how to debug PostgreSQL on Linux using GDB. I made some changes to src/backend/utils/sort/tuplesort.c but it hangs while performing run formation (where my changes are). I configured it using ./configure --prefix="/usr/local/pgsql/8.3/" CFLAGS="-O0 -DTRACE_SORT" --enable-d