bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross gdb and threads


From: Robert Trask
Subject: Cross gdb and threads
Date: Fri, 30 Apr 2004 15:16:01 -0700

I've recently tried to build a cross debugger  for a mips-linux target. For ordinary programs everything seems to work well. When we debug threaded programs gdb performs poorly.
When we set a breakpont anywhere but in the "main" thread (the one from which we launch the others) the debugger gets confused: no valid stack frame, can't resolve symbols, etc.
 
Here's my config entry:
 
../configure --target=mips-linux --prefix=/projects/san_engineering/tools --with-solib-absolute-prefix=/projects/bbp_ext16/systems/sbtools/x86-linux-rh6.0/mips-linux-2.7.16/mips-linux/lib
 
Does anyone have any insights into what is going wrong? Any patches or work-arounds I could apply?
 
(Or, hopefully, just another config itme?)
 
thx,
 
/bob
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]