This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debugging a Multi-threaded application on PowerPC 82xx...


On Wed, Apr 09, 2003 at 04:15:39PM -0400, Gautham Thavva wrote:
> 
> Hi Daniel,
> 
> I have read in the archives that you are yet to write a FAQ and already answered this question 5 or 6 times. Please bear with me
> for one more time.
> 
> A quick recap: I am running a multi-threaded application on
> PowerPC 8260 and trying to debug it with gdb-5.3 
> 
> In the previous reply, you had asked me to set the solib-absolute-
> prefix. I set solib-absolute-prefix and still couldn't debug.
> I then built the application as a static executable and tried
> to debug it. It got stuck at the system calls in the application.
> 
> I then tested the system calls with a test program.

> I put a breakpoint at points shown by <##X##> in the above code.
> It hit breakpoint 2 and 3 but never hit breakpoint 1
> I placed the system calls in the main function to exclude
> the possibility of gdb not handling system calls in threads.

Sorry, I have no idea what would cause this problem.  System calls in
threads should not generally be a problem, by the way.


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]