MakeReady behavior.
This commit is contained in:
@@ -61,6 +61,39 @@ module.service('DataSource', function($q) {
|
||||
DataSource.prototype.dispose = function() {};
|
||||
DataSource.prototype.issue = function(command) {};
|
||||
|
||||
DataSource.prototype.makeReady = function() {
|
||||
return this.issue({
|
||||
command: 'debug.make_ready'
|
||||
});
|
||||
};
|
||||
|
||||
DataSource.prototype.getModuleList = function() {
|
||||
return this.issue({
|
||||
command: 'cpu.get_module_list'
|
||||
});
|
||||
};
|
||||
|
||||
DataSource.prototype.getModule = function(moduleName) {
|
||||
return this.issue({
|
||||
command: 'cpu.get_module',
|
||||
module: moduleName
|
||||
});
|
||||
};
|
||||
|
||||
DataSource.prototype.getFunctionList = function(moduleName) {
|
||||
return this.issue({
|
||||
command: 'cpu.get_function_list',
|
||||
module: moduleName
|
||||
});
|
||||
};
|
||||
|
||||
DataSource.prototype.getFunction = function(address) {
|
||||
return this.issue({
|
||||
command: 'cpu.get_function',
|
||||
address: address
|
||||
});
|
||||
};
|
||||
|
||||
DataSource.prototype.addBreakpoint = function(breakpoint) {
|
||||
return this.addBreakpoints([breakpoint]);
|
||||
};
|
||||
@@ -96,33 +129,6 @@ module.service('DataSource', function($q) {
|
||||
});
|
||||
};
|
||||
|
||||
DataSource.prototype.getModuleList = function() {
|
||||
return this.issue({
|
||||
command: 'cpu.get_module_list'
|
||||
});
|
||||
};
|
||||
|
||||
DataSource.prototype.getModule = function(moduleName) {
|
||||
return this.issue({
|
||||
command: 'cpu.get_module',
|
||||
module: moduleName
|
||||
});
|
||||
};
|
||||
|
||||
DataSource.prototype.getFunctionList = function(moduleName) {
|
||||
return this.issue({
|
||||
command: 'cpu.get_function_list',
|
||||
module: moduleName
|
||||
});
|
||||
};
|
||||
|
||||
DataSource.prototype.getFunction = function(address) {
|
||||
return this.issue({
|
||||
command: 'cpu.get_function',
|
||||
address: address
|
||||
});
|
||||
};
|
||||
|
||||
return DataSource;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user