os_kernel_lab/.vscode/tasks.json
423A35C7 4c81247971 实验3环境初始化
Makefile里的gdb和之前不一样了!要添加$(QEMUOPTS),不然会导致没有挂载交换分区。
2024-04-28 22:00:55 +08:00

43 lines
1.2 KiB
JSON

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