Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-debug-dev] multi-threaded programs and GDB interface

Denis,

The "info threads" and "-thread-list-ids" are not equivalent. The former
also includes the current thread information that is used by CDT, so we
can not switch automatically. But you are right it is better to use the
new mi commands instead of the CLI equivalents. And the current thread
id can be (and probably should be) acquired from the "stopped" record. 
Please, submit an enhancement request in Bugzilla.

Thanks,
Mikhail Khodjaiants
ARM Ltd.

-----Original Message-----
From: cdt-debug-dev-bounces@xxxxxxxxxxx
[mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Denis PILAT
Sent: 22 September 2006 14:01
To: cdt-debug-dev@xxxxxxxxxxx
Subject: [cdt-debug-dev] multi-threaded programs and GDB interface

About multi-threaded programs:

Current Eclipse still uses the CLI "info threads" command whereas MI
-thread-list_ids is implemented in GDB for a while.
Is there any plan to use this MI command within
org.eclipse.cdt.debug.mi.core plugin ?

I've planned to implement in GDB the non-implemented one
-thread-list-all-threads and -thread-info in order to use them in our
Eclipse.
I can do that the way I think it must be done, modifing Eclipse
Accordingly, but it would be preferable to understand if one day Eclipse
is going to use them and what do you expect from such commands ?

A thread is already active on the gdb mailing list about that:
(http://sources.redhat.com/ml/gdb/2006-09/msg00115.html)



Waiting for your feedback
Denis PILAT / STMicroelectronics / France



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


--
The 2006 ARM Developers' Conference, October 3-5, Santa Clara, US 
Join ARM and its technology and tools Partners from around the world at the only industry event for developers of ARM Powered(R) solutions. 
http://www.arm.com/developersconference/


IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.




Back to the top