From: Adam Richard <g4c9z@unb.ca>
To: gdb@sources.redhat.com
Cc: Daniel Jacobowitz <drow@false.org>
Subject: Re: warning: Unable to find dynamic linker breakpoint function
Date: Wed, 05 Jan 2005 03:10:00 -0000 [thread overview]
Message-ID: <1104894563.41db5a6383d89@webmail.unb.ca> (raw)
In-Reply-To: <20050104230644.GA27358@nevyn.them.org>
> > > > > > I read somewhere that it
> > > > > might
> > > > > > have to do with a stripped gdb but I don't understand why I can't have a
> > > stripped
> > > > > gdb
> > > > > > so I'm hoping for an explanation.
> > > > >
> > > > > Not a stripped GDB, a stripped dynamic linker (/lib/ld-linux.so.2).
> > > >
> > > > OK, why does a stripped dynamic linker impair debugging? I noticed that that
> file
> > > is
> > > > part of the glibc package, and I can see why stripping it would prevent being
> able
> > > to
> > > > step into its functions for any program which depends on it (which is most
> > > programs).
> > > > But I still don't understand your explanation.
> > >
> > > Because GDB has trouble finding the list of available shared libraries.
> >
> > I tried recompiling glibc without stripping it (at least I used the "nostrip"
> option in
> > Gentoo) and it didn't make a difference. Are you sure that's what makes the
> warning go
> > away?
> >
>
> You'll have to debug GDB yourself to figure out why it's being
> produced, then.
Actually, I just discovered what was wrong. I didn't have debug info compiled into
glibc. After including it (with the debug USE flag in Gentoo; I don't know how to do
it normally), the warning went away.
Thanks for all your help.
next prev parent reply other threads:[~2005-01-05 3:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-29 21:33 Adam Richard
2004-12-29 21:44 ` Daniel Jacobowitz
2004-12-31 0:36 ` Adam Richard
2004-12-31 0:41 ` Daniel Jacobowitz
2004-12-31 13:51 ` Adam Richard
2004-12-31 19:09 ` Daniel Jacobowitz
2005-01-04 23:04 ` Adam Richard
2005-01-04 23:07 ` Daniel Jacobowitz
2005-01-05 3:10 ` Adam Richard [this message]
2005-03-11 21:42 Manoj Iyer
2005-03-12 0:14 ` Khem Raj
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=1104894563.41db5a6383d89@webmail.unb.ca \
--to=g4c9z@unb.ca \
--cc=drow@false.org \
--cc=gdb@sources.redhat.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