Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org, Tom Tromey <tromey@redhat.com>
Subject: Re: [RFC/ia64] link against libunwind rather than using dlopen
Date: Sat, 25 Jun 2011 18:49:00 -0000	[thread overview]
Message-ID: <20110625184854.GA18713@host1.jankratochvil.net> (raw)
In-Reply-To: <20110622153625.GA20676@adacore.com> <1308327042-6327-1-git-send-email-brobecker@adacore.com>

On Fri, 17 Jun 2011 18:10:42 +0200, Joel Brobecker wrote:
> Next on the list is to delete the libunwind_load phase, and use the unw_*
> symbols directly (so all the function unw_*_p pointers will disappear).

The gdb binary years ago could be freely copied across hosts and it still
worked.  GDB could also still provide ia64 debugging even if it runtime failed
to find libunwind.so.7.

This seems to be the original goal of the code:
	RFA: libunwind basic support
	http://sourceware.org/ml/gdb-patches/2003-10/msg00504.html
	http://sourceware.org/ml/gdb-patches/2003-11/msg00228.html
	> > - is it considered a "system library" (like libc, or libthread_db)?
	> 
	> I would have to say no.  It is currently an optional library.
	> This is one of the reasons I chose to use a dynamic load mechanism.


Unfortunately since DT_NEEDED libpython this feature is already lost so it
should be OK now even for libunwind.so.7.  Also with ubiquitous virtualization
the matching OS and GDB binary are usually more available now so the binary
build compatibility is not such an issue.


On Wed, 22 Jun 2011 17:36:25 +0200, Joel Brobecker wrote:
> But I did send a message to Jan asking him if he could test on a newer
> distro,

As sent offlist I have not found any problems you described on ia64 RHEL-4 and
RHEL-5 boxes.


Thanks,
Jan


  parent reply	other threads:[~2011-06-25 18:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17 16:11 Joel Brobecker
2011-06-22 14:40 ` Tom Tromey
2011-06-22 15:36   ` Joel Brobecker
2011-06-25 18:49 ` Jan Kratochvil [this message]
2011-06-28 19:55   ` Tom Tromey
2011-06-29 16:28     ` 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=20110625184854.GA18713@host1.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@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