Hi Marc,
Thank you to answer me !
In fact I’ve two different binaries, but one project (I want to add a new wizard for a new project type who will generate two debug configuration). The source will be instrumented and the makefile will be differents.
I want to add programmatically a section under the launch configuration to add the two binaries and launch a debug session, so yes I want to trigger a Debug session programmatically.
So, I want to know, if I have to do 2 debug sessions or if exists a kind of “double” debug session ?
I hop, I’m clear !
Many thanks !
Have a good day !
Christelle
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
Sent: Friday, September 04, 2015 4:07 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Multi-core How configure GDB session programmatically ?
Hi Christelle,
I am not sure what you are asking exactly.
A binary running on a multi-core system is handled automatically by the OS, and a single Debug session should work fine.
If you are talking about debugging multiple processes, that is also supported by a single Debug session.
If you want to trigger a Debug session programatically, that can be done easily and I can point you to an example
of how Trace Compass does this to visualizer GDB traces.
I'll let you clarify your questions before getting into more details.
marc
From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Christelle BURGUERA [Christelle.BURGUERA@xxxxxx]
Sent: September 4, 2015 8:47 AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Multi-core How configure GDB session programmatically ?
Hi all !
I’ll work on multi-core problematical very soon.
And I think about how can I’ll do …
How can you launch the debug ?
2 GDB sessions or one particular GDB session if exists such a think ???
Do you know where can I find a piece of code explaining to me ?
Many thanks for your attention !
Chris