mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[202852] Got rid of references to register group.
This commit is contained in:
parent
0a03668473
commit
a437c66f4b
1 changed files with 22 additions and 40 deletions
|
@ -185,13 +185,14 @@ public class ContainerVMNode extends AbstractDMVMNode
|
|||
if ( dmc instanceof GDBControlDMContext )
|
||||
{
|
||||
final GDBControlDMContext procDmc = (GDBControlDMContext) dmc;
|
||||
try {
|
||||
getSession().getExecutor().execute(new DsfRunnable() {
|
||||
public void run() {
|
||||
final GDBRunControl runControl = getServicesTracker().getService(GDBRunControl.class);
|
||||
|
||||
/*
|
||||
* Now make sure the register group is the one we want.
|
||||
*/
|
||||
|
||||
final DataRequestMonitor<GDBProcessData> regGroupDataDone = new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) {
|
||||
if ( runControl != null ) {
|
||||
runControl.getProcessData(
|
||||
procDmc,
|
||||
new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) {
|
||||
@Override
|
||||
protected void handleCompleted() {
|
||||
if ( getStatus().isOK() ) {
|
||||
|
@ -199,17 +200,7 @@ public class ContainerVMNode extends AbstractDMVMNode
|
|||
}
|
||||
request.done();
|
||||
}
|
||||
};
|
||||
|
||||
/*
|
||||
* Now go get the model data for the single register group found.
|
||||
*/
|
||||
try {
|
||||
getSession().getExecutor().execute(new DsfRunnable() {
|
||||
public void run() {
|
||||
final GDBRunControl runControl = getServicesTracker().getService(GDBRunControl.class);
|
||||
if ( runControl != null ) {
|
||||
runControl.getProcessData( procDmc, regGroupDataDone );
|
||||
});
|
||||
}
|
||||
else {
|
||||
request.done();
|
||||
|
@ -246,13 +237,14 @@ public class ContainerVMNode extends AbstractDMVMNode
|
|||
if ( dmc instanceof GDBControlDMContext )
|
||||
{
|
||||
final GDBControlDMContext procDmc = (GDBControlDMContext) dmc;
|
||||
try {
|
||||
getSession().getExecutor().execute(new DsfRunnable() {
|
||||
public void run() {
|
||||
final GDBRunControl runControl = getServicesTracker().getService(GDBRunControl.class);
|
||||
|
||||
/*
|
||||
* Now make sure the register group is the one we want.
|
||||
*/
|
||||
|
||||
final DataRequestMonitor<GDBProcessData> regGroupDataDone = new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) {
|
||||
if ( runControl != null ) {
|
||||
runControl.getProcessData(
|
||||
procDmc,
|
||||
new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) {
|
||||
@Override
|
||||
protected void handleCompleted() {
|
||||
if ( getStatus().isOK() ) {
|
||||
|
@ -260,17 +252,7 @@ public class ContainerVMNode extends AbstractDMVMNode
|
|||
}
|
||||
request.done();
|
||||
}
|
||||
};
|
||||
|
||||
/*
|
||||
* Now go get the model data for the single register group found.
|
||||
*/
|
||||
try {
|
||||
getSession().getExecutor().execute(new DsfRunnable() {
|
||||
public void run() {
|
||||
final GDBRunControl runControl = getServicesTracker().getService(GDBRunControl.class);
|
||||
if ( runControl != null ) {
|
||||
runControl.getProcessData( procDmc, regGroupDataDone );
|
||||
});
|
||||
}
|
||||
else {
|
||||
request.done();
|
||||
|
|
Loading…
Add table
Reference in a new issue