1、修改depends依赖,添加调试终端输入功能
This commit is contained in:
parent
248b9c7322
commit
21d476c92c
|
@ -1,3 +1,5 @@
|
|||
# 0.1.2
|
||||
- 修改depends依赖,添加调试终端输入功能.
|
||||
# 0.1.1
|
||||
- 由于x86及龙芯平台gdb有bug,暂时关闭x86及龙芯平台反向调试功能.
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"deb":{
|
||||
"default_arch":{
|
||||
"default_os":{
|
||||
"g++":{
|
||||
"gdb":{
|
||||
"relations":[{
|
||||
"relation": ">=",
|
||||
"version": "8.0.0"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"debug"
|
||||
],
|
||||
"license": "public domain",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"publisher": "KylinIDETeam",
|
||||
"icon": "images/icon.png",
|
||||
"engines": {
|
||||
|
|
|
@ -957,6 +957,12 @@ export class MI2 extends EventEmitter implements IBackend {
|
|||
sendUserInput(command: string, threadId: number = 0, frameLevel: number = 0): Thenable<MINode> {
|
||||
if (command.startsWith("-")) {
|
||||
return this.sendCommand(command.substr(1));
|
||||
}
|
||||
else if (command.startsWith(">>")) {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.sendRaw(command.substr(2));
|
||||
resolve(undefined);
|
||||
});
|
||||
} else {
|
||||
return this.sendCliCommand(command, threadId, frameLevel);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue