Re: debugging C functions - Mailing list pgsql-general

From Tom Lane
Subject Re: debugging C functions
Date
Msg-id 22486.1056155248@sss.pgh.pa.us
Whole thread Raw
In response to Re: debugging C functions  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
List pgsql-general
"Nigel J. Andrews" <nandrews@investsystems.co.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

pgsql-general by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [pgsql-advocacy] MySQL gets $19.5 MM
Next
From: Teresa Hasheminejad
Date:
Subject: Looking for PERL documentation (fwd)