From 8b4ccf9bd1efc06d438d685dad535a8c266102da Mon Sep 17 00:00:00 2001 From: os_lab_user Date: Sun, 24 Mar 2024 16:35:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B0=83=E8=AF=95=E7=8E=AF?= =?UTF-8?q?=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复了在trap.c中设断点无效的问题; 修复了trap.c无法显示trap.h中的代码提示的问题。 --- .vscode/c_cpp_properties.json | 15 +++++++++++++++ .vscode/launch.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .vscode/c_cpp_properties.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..4c5fd3e --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,15 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}/**", + "${workspaceFolder}/labcodes_answer/**/" + ], + "defines": [], + "compilerPath": "/usr/bin/gcc", + "intelliSenseMode": "linux-gcc-x64" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index 099c58b..c50d81b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,7 +8,7 @@ "name": "(gdb) 启动", "type": "cppdbg", "request": "launch", - "program": "obj/bootblock.o", + "program": "bin/kernel", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}/labcodes_answer/lab1_result",