Can someone point me to information on how to debug a Postgres extension
with gdb?
I have been able to attach to one but getting breakpoints to work right
and getting the addresses to properly relocate (since the extension
could be loaded anywhere) has been the problem for me.
I have not found
Paul Jones p...@cmicdo.com writes:
Can someone point me to information on how to debug a Postgres extension
with gdb?
I've noticed that on some platforms, it works better to attach gdb to the
backend process before you load the extension, but on others, it works
better to attach afterwards.
From: Tom Lane t...@sss.pgh.pa.us
To: Paul Jones p...@cmicdo.com
Cc: pgsql-general@postgresql.org pgsql-general@postgresql.org
Sent: Wednesday, November 20, 2013 9:13 AM
Subject: Re: [GENERAL] Debugging extension with gdb?
Paul Jones p...@cmicdo.com writes