Debugging postgresql source on gdb

Поиск
Список
Период
Сортировка
От Shreya Bhargava
Тема Debugging postgresql source on gdb
Дата
Msg-id 64968.60515.qm@web53402.mail.re2.yahoo.com
обсуждение исходный текст
Список pgsql-general
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.

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

Предыдущее
От: "Sibte Abbas"
Дата:
Сообщение: Re: [HACKERS] 8.2.4 signal 11 with large transaction
Следующее
От: "Andrus"
Дата:
Сообщение: Re: invalid memory alloc request size 2147483648 using toode LIKE 'ä%'