Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Thomas Ackermann <tja@anykey.de>
Cc: gdb@sourceware.org
Subject: Re: Help with debugging LD_PRELOADed shared C libraries
Date: Thu, 13 Jul 2006 17:05:00 -0000	[thread overview]
Message-ID: <20060713170530.GB28970@nevyn.them.org> (raw)
In-Reply-To: <6780801.1152809218081.OPEN-XCHANGE.WebMail.wwwrun@eu.main.anykey>

On Thu, Jul 13, 2006 at 06:46:58PM +0200, Thomas Ackermann wrote:
> I tried "export LD_PRELOAD=/.../mylib.so" and then started "gdb mybin
> core" or tried to set it within gdb: "set environment
> LD_PRELOAD /.../mylib.so" and then continue with "file mybin" and "core
> core", but:

If you're using a core file, the environment doesn't matter.  The
libraries should be loaded automatically.

Does info shared show something reasonable-looking?

Are you sure that core dumps work on this system?

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-07-13 17:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-13 16:47 Thomas Ackermann
2006-07-13 17:05 ` Daniel Jacobowitz [this message]
2006-07-13 17:38   ` Thomas Ackermann
2006-07-13 17:40     ` Daniel Jacobowitz
2006-07-13 18:55       ` Thomas Ackermann
2006-07-13 19:10         ` Daniel Jacobowitz
2006-07-13 22:14           ` Thomas Ackermann
2006-07-13 22:29             ` Daniel Jacobowitz
2006-07-14  1:22 ` Russell Shaw
2006-07-14 14:33   ` Thomas Ackermann
2006-07-14 16:31     ` Daniel Jacobowitz

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=20060713170530.GB28970@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=tja@anykey.de \
    /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