{
|
|
"tasks": [
|
|
{
|
|
"label": "make gdb",
|
|
"type": "shell",
|
|
"command": "bash ${workspaceFolder}/background.sh",
|
|
"isBackground": true,
|
|
"options": {
|
|
"env": {
|
|
"DISPLAY": ":0",
|
|
},
|
|
"cwd": "${workspaceFolder}/labcodes_answer/lab1_result"
|
|
},
|
|
|
|
"problemMatcher": [
|
|
{
|
|
"pattern": [
|
|
{
|
|
"regexp": ".",
|
|
"file": 1,
|
|
"location": 2,
|
|
"message": 3
|
|
}
|
|
],
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "starting QEMU",
|
|
"endsPattern": "starting QEMU",
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "shutdown gdb",
|
|
"type": "process",
|
|
"command": "pkill",
|
|
"isBackground": false,
|
|
"args": ["qemu-system-i38"], // 我也不知道为什么这个进程名字是i38而不是i386
|
|
},
|
|
|
|
],
|
|
"version": "2.0.0"
|
|
}
|