Threads variable relocation on x86_64

Marion Deveaud marion.deveaud@siemens.com
Tue Apr 26 16:54:00 GMT 2005


Daniel Jacobowitz wrote:
> 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.
> 
Updating to CVS version helped ! Thanks.



More information about the Gdb mailing list