Re: debugging C functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: debugging C functions
Date: 2003-06-21 00:27:28
Message-ID: 22486.1056155248@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)uk> writes:
> ... I might not have tried the LOAD then attach gdb sequence.

I think you need the "sharedlibrary" command to get gdb to know the
symbols in a shlib that was loaded into the process after gdb first
attached to it. If you do the LOAD, then attach, you bypass the need
to issue a manual "sharedlibrary" command.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Teresa Hasheminejad 2003-06-21 01:24:00 Looking for PERL documentation
Previous Message Bruno Wolff III 2003-06-21 00:19:21 Re: ss_family in hba.c