From: Daniel Jacobowitz <drow@false.org>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: Markus Deuling <deuling@de.ibm.com>,
GDB Patches <gdb-patches@sourceware.org>
Subject: Re: [patch]: Remove current_gdbarch from target.c
Date: Tue, 20 May 2008 17:53:00 -0000 [thread overview]
Message-ID: <20080520152644.GA30512@caradoc.them.org> (raw)
In-Reply-To: <200805201516.m4KFGOwH001309@d12av02.megacenter.de.ibm.com>
On Tue, May 20, 2008 at 05:16:24PM +0200, Ulrich Weigand wrote:
> Markus Deuling wrote:
>
>
> > * target.c (target_translate_tls_address): Replace current_gdbarch by
> > objfile arch.
>
> This is OK.
Is it really? What are the guarantees for the objfile architecture?
If an object is not sniffed as belonging to a particular os/abi, I
believe we won't get its tls address routine now, even when connected
to a target reporting the appropriate OS/ABI some other way or using
set arch.
This is not a big deal for Linux, since every linked object is
generally sniffable. But I've been working with two other OS's
recently where our dependence on sniffers is a problem; neither
Symbian OS nor DICOS has clear markings.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-05-20 15:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-19 15:19 Markus Deuling
2008-05-20 17:04 ` Ulrich Weigand
2008-05-20 17:53 ` Daniel Jacobowitz [this message]
2008-05-20 18:38 ` Ulrich Weigand
2008-05-20 18:39 ` Daniel Jacobowitz
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=20080520152644.GA30512@caradoc.them.org \
--to=drow@false.org \
--cc=deuling@de.ibm.com \
--cc=gdb-patches@sourceware.org \
--cc=uweigand@de.ibm.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