Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Prosun Niyogi <niyogip@yahoo.com>
To: Michael Snyder <Michael.Snyder@palmsource.com>
Cc: gdb@sourceware.org, pniyogi@us.ibm.com
Subject: Re: TLS on powerpc(32/64)
Date: Fri, 22 Sep 2006 19:01:00 -0000	[thread overview]
Message-ID: <20060922190131.42602.qmail@web38901.mail.mud.yahoo.com> (raw)
In-Reply-To: <1158950633.22863.73.camel@localhost.localdomain>

Apologies, I incorrectly reported that the lm address
was wrong. Actually, both lm and addr (as reported by
td_thr_tls_get_addr_p) are the same.. ie,
tg_thr_tls_get_addr_p returns the address of lm,
rather than the address of the variable.

--Prosun Niyogi  

--- Michael Snyder <Michael.Snyder@palmsource.com>
wrote:

> On Fri, 2006-09-22 at 11:18 -0700, Prosun Niyogi
> wrote:
> > Hi, thanks for your response. No, it isnt a
> > glibc/libthread_db version problem ... I've built
> the
> > same sources for ia32 and the test passes fine. It
> on
> > powerpc that I see the failure. 
> > 
> > So, after a little digging, it seems like the load
> > module address that gdb is using to make the call
> to
> > td_thr_tls_get_addr_p is bogus. At the moment, I
> am
> > comparing results with gdb-6.3 which works in my
> > envrionment. The offset to the variable within LM
> > looks fine. Still debugging. I am not too sure of
> what
> > the concept of the load module address is. Where
> would
> > be the appropriate place to look for background
> info?
> > glibc TLS documentation?
> > 
> > The lm_addr calculated in dwarf2loc.c looks bad on
> > ppc. 
> 
> That's a little beyond my knowledge.  Could it be a
> 32/64
> wordsize issue?  A sign extension issue?
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


  reply	other threads:[~2006-09-22 19:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-21 23:20 Prosun Niyogi
2006-09-21 23:52 ` Daniel Jacobowitz
2006-09-22 13:53   ` Prosun Niyogi
2006-09-22 18:03     ` Michael Snyder
2006-09-22 18:18       ` Prosun Niyogi
2006-09-22 18:43         ` Michael Snyder
2006-09-22 19:01           ` Prosun Niyogi [this message]
     [not found]   ` <20060922025718.19237.qmail@web38906.mail.mud.yahoo.com>
2006-09-22 14:03     ` 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=20060922190131.42602.qmail@web38901.mail.mud.yahoo.com \
    --to=niyogip@yahoo.com \
    --cc=Michael.Snyder@palmsource.com \
    --cc=gdb@sourceware.org \
    --cc=pniyogi@us.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