From: Kevin Buettner <kevinb@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] link GDB against libunwind-ia64
Date: Fri, 12 Aug 2005 01:28:00 -0000 [thread overview]
Message-ID: <20050811170317.11e4569f@ironwood.lan> (raw)
In-Reply-To: <20050811222323.GO10325@adacore.com>
On Thu, 11 Aug 2005 15:23:23 -0700
Joel Brobecker <brobecker@adacore.com> wrote:
> I'm currently working on a GDB port for ia64-hpux, and I'm having some
> problems with the unwinding of a stacked register. I'm trying to find
> the source of the problem, and part of the investigation lead me to look
> into the libunwind-ia64 code.
>
> I noticed that GDB uses the libunwind-ia64 shared library without being
> directly linked to it. Instead, it uses dlopen().
>
> This method has its advantages, but also introduces an extra layer
> of complication that is preventing me from making progress (*): A bug
> in my debugger is causing problems when I am attempting operations such
> as next or step over code inside that library.
>
> So I'd like to add an option so that GDB is explicitly linked against
> libunwind-ia64, instead of using dlopen(). As a bonus, this may simplify
> our work in terms of binary distribution...
>
> I was wondering if this would be an interesting enhancement to contribute.
I'm wondering if there's a good reason to preserve the existing
dlopen() mechanism. In other words, why not always link directly
against libunwind-ia64?
Kevin
next prev parent reply other threads:[~2005-08-12 0:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-11 23:54 Joel Brobecker
2005-08-12 1:28 ` Kevin Buettner [this message]
2005-08-12 9:41 ` Mark Kettenis
2005-08-12 17:13 ` Marcel Moolenaar
2005-08-12 20:31 ` Joel Brobecker
2005-08-15 19:04 ` Joel Brobecker
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=20050811170317.11e4569f@ironwood.lan \
--to=kevinb@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@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