This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Beginner question regarding gdb symbol files
On Fri, Feb 29, 2008 at 12:13:13PM +0100, luca regini wrote:
> The server is an openldap server. The binary comes directly from the
> fedora package for it. My plugin is a custom openldap backend that is
> loaded into the server using a libtool facility: lt_dlopenext.
> This is the output that i get when i try run gdb slapd immediatly:
>
> gdb slapd
> (gdb) start
> Breakpoint 1 at 0x14bc7: file ../../../servers/slapd/main.c, line 304.
> Starting program: /opt/six/sbin/slapd
> Warning:
> Cannot insert breakpoint 1.
> Error accessing memory address 0x14bc7: Input/output error.
This probably means that Fedora builds slapd as a PIE
(position-independent executable). GDB doesn't support those.
--
Daniel Jacobowitz
CodeSourcery