This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/ia64] link against libunwind rather than using dlopen
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 22 Jun 2011 08:40:17 -0600
- Subject: Re: [RFC/ia64] link against libunwind rather than using dlopen
- References: <1308327042-6327-1-git-send-email-brobecker@adacore.com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> This is something that I mentioned back in Aug 2005, and which came back
Joel> to bite me a little. Basically, on ia64 hosts, we dlopen libunwind rather
Joel> that link GDB against it.
[...]
Joel> What do you guys think?
Why do we currently use dlopen?
If there is no good reason, or the reason is obsolete, then it is
definitely better to link against a library than to dlopen it.
Tom