Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: luca regini <luca.regini@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Beginner question regarding gdb symbol files
Date: Fri, 29 Feb 2008 18:19:00 -0000	[thread overview]
Message-ID: <20080229134125.GB2573@caradoc.them.org> (raw)
In-Reply-To: <64077c280802290313j71685717q225403479ed99c63@mail.gmail.com>

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


      reply	other threads:[~2008-02-29 13:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-21 13:47 luca regini
2008-02-21 16:53 ` Daniel Jacobowitz
2008-02-28 16:13   ` luca regini
2008-02-28 16:53     ` Daniel Jacobowitz
2008-02-28 17:00       ` luca regini
2008-02-28 17:13         ` Daniel Jacobowitz
2008-02-29  1:10           ` Michael Snyder
2008-02-29 13:40             ` luca regini
2008-02-29 18:19               ` Daniel Jacobowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080229134125.GB2573@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=luca.regini@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox