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 )
|
if ( dmc instanceof GDBControlDMContext )
|
||||||
{
|
{
|
||||||
final GDBControlDMContext procDmc = (GDBControlDMContext) dmc;
|
final GDBControlDMContext procDmc = (GDBControlDMContext) dmc;
|
||||||
|
try {
|
||||||
|
getSession().getExecutor().execute(new DsfRunnable() {
|
||||||
|
public void run() {
|
||||||
final GDBRunControl runControl = getServicesTracker().getService(GDBRunControl.class);
|
final GDBRunControl runControl = getServicesTracker().getService(GDBRunControl.class);
|
||||||
|
if ( runControl != null ) {
|
||||||
/*
|
runControl.getProcessData(
|
||||||
* Now make sure the register group is the one we want.
|
procDmc,
|
||||||
*/
|
new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) {
|
||||||
|
|
||||||
final DataRequestMonitor<GDBProcessData> regGroupDataDone = new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) {
|
|
||||||
@Override
|
@Override
|
||||||
protected void handleCompleted() {
|
protected void handleCompleted() {
|
||||||
if ( getStatus().isOK() ) {
|
if ( getStatus().isOK() ) {
|
||||||
|
@ -199,17 +200,7 @@ public class ContainerVMNode extends AbstractDMVMNode
|
||||||
}
|
}
|
||||||
request.done();
|
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 {
|
else {
|
||||||
request.done();
|
request.done();
|
||||||
|
@ -246,13 +237,14 @@ public class ContainerVMNode extends AbstractDMVMNode
|
||||||
if ( dmc instanceof GDBControlDMContext )
|
if ( dmc instanceof GDBControlDMContext )
|
||||||
{
|
{
|
||||||
final GDBControlDMContext procDmc = (GDBControlDMContext) dmc;
|
final GDBControlDMContext procDmc = (GDBControlDMContext) dmc;
|
||||||
|
try {
|
||||||
|
getSession().getExecutor().execute(new DsfRunnable() {
|
||||||
|
public void run() {
|
||||||
final GDBRunControl runControl = getServicesTracker().getService(GDBRunControl.class);
|
final GDBRunControl runControl = getServicesTracker().getService(GDBRunControl.class);
|
||||||
|
if ( runControl != null ) {
|
||||||
/*
|
runControl.getProcessData(
|
||||||
* Now make sure the register group is the one we want.
|
procDmc,
|
||||||
*/
|
new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) {
|
||||||
|
|
||||||
final DataRequestMonitor<GDBProcessData> regGroupDataDone = new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) {
|
|
||||||
@Override
|
@Override
|
||||||
protected void handleCompleted() {
|
protected void handleCompleted() {
|
||||||
if ( getStatus().isOK() ) {
|
if ( getStatus().isOK() ) {
|
||||||
|
@ -260,17 +252,7 @@ public class ContainerVMNode extends AbstractDMVMNode
|
||||||
}
|
}
|
||||||
request.done();
|
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 {
|
else {
|
||||||
request.done();
|
request.done();
|
||||||
|
|
Loading…
Add table
Reference in a new issue