Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-debug-dev] CDT + gdb version?

> > 
> > 
> > Hi all,
> > 
> > After installing cdt 2.0 with eclipse 3.0 for embeeded 
> development, it turns
> > out that cdt does not work with the last gdb version 6.1.1, 
> at least for
> > remote debugging with a multithread program. The fact is 
> that it only
> > detects one thread.
> > 
> > After going back to gdb 5 it seems to work better.
> > 
> > Is there any "official" gdb version for CDT ? I haven't 
> been able to find it
> > on the documentation. Is there any sync path gdb-CDT?
> > 
> 
> CDT/Debug should work with gdb-5.2.1 and above, we use MI level 1.
> 
> Is gdb-6.1.1 work standalone(i.e. without the CDT) ?

Yes, no problem: gdb and gdbserver on both host and target RH-9, using
libthreads (not NPTL as gdbserver does not support it).

> 
> www.eclipse.org/cdt follow the FAQ link, it explains how to 
> get a trace log
> of the transaction between CDT and GDB, (make a PR with the 
> trace log).

OK.

> 
> Newer version of gdb uses libthread_db.so, I would be curious to see
> the output of "info threads"

The point is that gdb-6 detects 3 threads with "info threads" but CDT only
detects one using the same command on the console, and on the GUI also only
shows one thread.  

> 
> 
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
> 


***********************************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. 

This mail or any response may be monitored by Sony United Kingdom Limited. (6)
***********************************************************************************************



Back to the top