[GENERAL] Debugging postgresql source on gdb

2007-07-21 Thread Shreya Bhargava
Hi, I am trying to debug postgres source code using gdb. I set a breakpoint on a function, but it never stops when it reaches that function. Here are the steps: 1. gdb postgres 2. set args -D test (test is my dbcluster) 3. b hashbuild(this is the function i want to break on) 4. run 5. start a cl

Re: [GENERAL] Debugging postgresql source on gdb

2007-07-22 Thread Shreya Bhargava
Thanks very much for the suggestions! will try them out regards, Shreya Sibte Abbas <[EMAIL PROTECTED]> wrote: On 7/22/07, Sibte Abbas wrote: > On 7/22/07, Tom Lane wrote: > > Shreya Bhargava writes: > > > 1. gdb postgres > > > 2. set args -D test