This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Threads variable relocation on x86_64
- From: Daniel Jacobowitz <drow at false dot org>
- To: Marion Deveaud <marion dot deveaud at siemens dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 26 Apr 2005 09:19:57 -0400
- Subject: Re: Threads variable relocation on x86_64
- References: <426E2C4F.2090500@siemens.com>
On Tue, Apr 26, 2005 at 01:55:59PM +0200, Marion Deveaud wrote:
> (gdb) thread 2
> [Switching to thread 2 (Thread 1075837280 (LWP 5600))]#0 MyThreadFunc1
> (arg=Variable "arg" is not available.
> ) at hello_world.c:22
> 22 while(1);
>
>
> Did someone already face similar problem ? The major issue comes when
> using DDD and switching between threads.
> Should I use different compiler options ? I tried dwarf2 related flags,
> no success.
> The same tests are running well on a I32 platform.
>
> Thanks in advance for any hints you could give me.
This error is not related to threads. The variable isn't available, so
GDB can't display it.
CVS versions of GDB will show a more useful output.
--
Daniel Jacobowitz
CodeSourcery, LLC