From: Randolph Chung <randolph@tausq.org>
To: gdb-patches@sources.redhat.com, brobecker@adacore.com
Subject: Re: [RFA/hpux] SEGV when running program using dlopen
Date: Wed, 15 Dec 2004 17:14:00 -0000 [thread overview]
Message-ID: <20041215163628.GY29171@tausq.org> (raw)
In-Reply-To: <20041215073206.GM964@adacore.com>
> Unfortunately for us, that doesnt' work for __d_trap, as that symbol
> lives in crt0. So lookup_minimal_symbol_solib_trampoline never returns
> any match, and we end up stuck with the non-stub address.
>
> I replaced the above block by a simply ALL_MSYMBOLS loop that simply
> matches the msymbol name before checking for the associated stub type.
> That fixes the problem.
hrm, a question:
since we are already doing this in an ALL_OBJFILES loop, how come we
don't find the right symbol? i also notice that the problem only occurs
when you link in end.o; what does that do?
that kind of a loop exists elsewhere for the hpux target, so i want to
understand this a bit more.
thanks
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
next prev parent reply other threads:[~2004-12-15 16:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-15 9:20 Joel Brobecker
2004-12-15 17:14 ` Randolph Chung [this message]
2004-12-15 17:23 ` Joel Brobecker
2004-12-15 17:27 ` Randolph Chung
2004-12-15 18:29 ` Joel Brobecker
2004-12-17 7:15 ` Joel Brobecker
2004-12-17 7:44 ` Randolph Chung
2004-12-17 19:22 ` 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=20041215163628.GY29171@tausq.org \
--to=randolph@tausq.org \
--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