1、修改depends依赖,添加调试终端输入功能

This commit is contained in:
Haoyang Chen 2023-04-27 15:21:59 +08:00
parent 248b9c7322
commit 21d476c92c
4 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,5 @@
# 0.1.2
- 修改depends依赖添加调试终端输入功能.
# 0.1.1
- 由于x86及龙芯平台gdb有bug暂时关闭x86及龙芯平台反向调试功能.

View File

@ -2,7 +2,7 @@
"deb":{
"default_arch":{
"default_os":{
"g++":{
"gdb":{
"relations":[{
"relation": ">=",
"version": "8.0.0"

View File

@ -14,7 +14,7 @@
"debug"
],
"license": "public domain",
"version": "0.1.1",
"version": "0.1.2",
"publisher": "KylinIDETeam",
"icon": "images/icon.png",
"engines": {

View File

@ -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);
}