From: Kevin Buettner <kevinb@redhat.com>
To: Iztok <I@s5.net>, gdb@sources.redhat.com
Subject: Re: Problem debugging SOs
Date: Fri, 23 Aug 2002 07:53:00 -0000 [thread overview]
Message-ID: <1020823145316.ZM626@localhost.localdomain> (raw)
In-Reply-To: Iztok <I@s5.net> "Problem debugging SOs" (Aug 23, 11:43am)
On Aug 23, 11:43am, Iztok wrote:
> Version 5.0
> Platform i386 Linux SuSE 7.0
>
> I've got situation when shared object is loaded at runtime via the
> dlopen function. GDB afterwards shows that the symbols from this shared
> object are loaded but when trying to step into the function from this SO
> nothing shows.
>
> Full debugging info is included in SO.
>
> How should I prepare the system to debug such SW ?
I think you may be seeing a linker bug. Newer versions of gdb have
a fix to work around the bug, but gdb-5.0 did not.
For more information, see the threads associated with:
http://sources.redhat.com/ml/gdb/2001-08/msg00221.html
http://sources.redhat.com/ml/gdb-patches/2001-09/msg00003.html
The simple fix is to update to a newer version of gdb. Either 5.2
or the current development sources should be fine.
Kevin
next prev parent reply other threads:[~2002-08-23 14:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-23 2:43 Iztok
2002-08-23 7:53 ` Kevin Buettner [this message]
2002-08-26 2:43 ` Iztok Kobal
2002-08-26 8:43 ` Kevin Buettner
2002-08-26 22:41 ` Iztok Kobal
2002-08-27 8:04 ` Kevin Buettner
2002-08-27 22:17 ` Iztok Kobal
2002-08-27 22:57 ` Kevin Buettner
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=1020823145316.ZM626@localhost.localdomain \
--to=kevinb@redhat.com \
--cc=I@s5.net \
--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