Ver código fonte

实验7环境初始化

main
423A35C7 11 meses atrás
pai
commit
226aac5bdc
4 arquivos alterados com 6 adições e 3 exclusões
  1. +1
    -1
      .vscode/c_cpp_properties.json
  2. +1
    -1
      .vscode/launch.json
  3. +1
    -1
      .vscode/tasks.json
  4. +3
    -0
      labcodes_answer/lab7_result/Makefile

+ 1
- 1
.vscode/c_cpp_properties.json Ver arquivo

@ -6,7 +6,7 @@
"${workspaceFolder}/**", "${workspaceFolder}/**",
// "${workspaceFolder}/labcodes_answer/**/", // "${workspaceFolder}/labcodes_answer/**/",
// lab1_resultlab2_result // lab1_resultlab2_result
"${workspaceFolder}/labcodes_answer/lab6_result/**/" "${workspaceFolder}/labcodes_answer/lab7_result/**/"
], ],
"defines": [], "defines": [],
"compilerPath": "/usr/bin/gcc", "compilerPath": "/usr/bin/gcc",

+ 1
- 1
.vscode/launch.json Ver arquivo

@ -11,7 +11,7 @@
"program": "bin/kernel", "program": "bin/kernel",
"args": [], "args": [],
"stopAtEntry": false, "stopAtEntry": false,
"cwd": "${workspaceFolder}/labcodes_answer/lab6_result", "cwd": "${workspaceFolder}/labcodes_answer/lab7_result",
"environment": [], "environment": [],
"externalConsole": false, "externalConsole": false,
"MIMode": "gdb", "MIMode": "gdb",

+ 1
- 1
.vscode/tasks.json Ver arquivo

@ -9,7 +9,7 @@
"env": { "env": {
"DISPLAY": ":0", "DISPLAY": ":0",
}, },
"cwd": "${workspaceFolder}/labcodes_answer/lab6_result" "cwd": "${workspaceFolder}/labcodes_answer/lab7_result"
}, },
"problemMatcher": [ "problemMatcher": [

+ 3
- 0
labcodes_answer/lab7_result/Makefile Ver arquivo

@ -253,6 +253,7 @@ endif
# files for grade script # files for grade script
TARGETS: $(TARGETS) TARGETS: $(TARGETS)
all: $(TARGETS)
.DEFAULT_GOAL := TARGETS .DEFAULT_GOAL := TARGETS
@ -268,6 +269,8 @@ qemu-nox: (UCOREIMG)(SWAPIMG)
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic $(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
TERMINAL := gnome-terminal TERMINAL := gnome-terminal
gdb: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -S -s -parallel stdio $(QEMUOPTS) -serial null
debug: $(UCOREIMG) $(SWAPIMG) debug: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -S -s -parallel stdio $(QEMUOPTS) -serial null & $(V)$(QEMU) -S -s -parallel stdio $(QEMUOPTS) -serial null &

||||||
x
 
000:0
Carregando…
Cancelar
Salvar