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 client using ./psql test
6. command to create hash index, which calls the above function.
at this point, i see that the function is being executed because i see my printf statements, but breakpoint never gets triggered.
please advice.
regards,
Shreya
---------------------------------
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.