From: Joel Brobecker <brobecker@adacore.com>
To: Randolph Chung <tausq@debian.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/hpux] SEGV when running program using dlopen
Date: Wed, 15 Dec 2004 18:29:00 -0000 [thread overview]
Message-ID: <20041215171240.GR964@adacore.com> (raw)
In-Reply-To: <20041215170602.GB29171@tausq.org>
> yeah, seems a bit bogus :) i think it works only because export stubs
> normally occur earlier in a file than the real function; but i suppose
> that doesn't have to be the case.
Either that, or the ordering of the symbols in our data structures can
change.
> > AFAIK, it provides some help in debugging by exporting some specified
> > symbols. The only use I know of if with shared libraries...
>
> ok, thanks. your patch looks good; i'm still wondering if we should have
> unified logic to search for (export|import) stubs... but that's for
> later.
I thought about this too, actually. I think it's a great idea. The
patch will be slightly larger, but I can export the new code into
a function and call that. Might be useful elsewhere, and will make
the code a bit cleaner in any case.
If you prefer, you can also take my patch, adapt it, and do the commit.
--
Joel (GMT + 4, so time to sign off)
next prev parent reply other threads:[~2004-12-15 17:27 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
2004-12-15 17:23 ` Joel Brobecker
2004-12-15 17:27 ` Randolph Chung
2004-12-15 18:29 ` Joel Brobecker [this message]
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=20041215171240.GR964@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sources.redhat.com \
--cc=tausq@debian.org \
/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