《操作系统》的实验代码。
 
 
 
 
 

43 lines
1.2 KiB

{
"tasks": [
{
"label": "make gdb",
"type": "shell",
"command": "bash ${workspaceFolder}/background.sh",
"isBackground": true,
"options": {
"env": {
"DISPLAY": ":0",
},
"cwd": "${workspaceFolder}/labcodes_answer/lab6_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"], // i38i386
},
],
"version": "2.0.0"
}