[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-debug-dev] Multicore debugging
|
Hi all,
I'm trying to get multicore debugging working using multiple GDB/MI
instances under a single Launch Configuration. Effectively how I
imagine the multicore screenshot on
http://www.eclipse.org/dsdp/dd/development/plan.php is implemented.
I have a customised launch configuration page (based off of Zylin) but
so far can't quite get my head around the Session set up. From what I
can tell I effectively want a single Session to which I add multiple
MISessions (as is done for a single instance in the Session
Constructor). At that point getTargets will return an array with more
than one item.
To do this, it looks like I need to override the behaviour of
AbstractGDBCDIDebugger.createGDBSession() (to create multiple MI
sessions) and MIPlugin.getDefault().createSession() to return a
MISession rather than a Session. Is this the correct way to go about
doing this?
I have googled for more info how the debug launch configuration works,
but only seen comments on doing multicore debugging using a separate
Launch for each core. If anyone could point me in the right
direction, I'd be most grateful.
Many thanks,
James