Pārlūkot izejas kodu

实验7环境初始化

main
423A35C7 pirms 5 mēnešiem
vecāks
revīzija
226aac5bdc
4 mainītis faili ar 6 papildinājumiem un 3 dzēšanām
  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 Parādīt failu

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

+ 1
- 1
.vscode/launch.json Parādīt failu

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

+ 1
- 1
.vscode/tasks.json Parādīt failu

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

+ 3
- 0
labcodes_answer/lab7_result/Makefile Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt