Skip to content

Commit 4a5e6ef

Browse files
committed
update
1 parent e783cff commit 4a5e6ef

File tree

2 files changed

+17
-21
lines changed

2 files changed

+17
-21
lines changed

.cargo/config.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,3 @@ xtask = "run --package xtask --"
33

44
[target.'cfg(all(target_os = "none"))']
55
runner = "ostool cargo-test"
6-
7-
# [build]
8-
# target = "aarch64-unknown-none"
9-

.vscode/launch.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7-
{
8-
"name": "KDebug lldb",
9-
"type": "lldb",
10-
"request": "launch",
11-
"program": "${workspaceFolder}/target/kernel.elf",
12-
"initCommands": [
13-
"platform select remote-gdb-server"
14-
],
15-
"targetCreateCommands": [
16-
"target create ${workspaceFolder}/target/kernel.elf"
17-
],
18-
"processCreateCommands": [
19-
"gdb-remote localhost:1234" // Connect to the GDB Server
20-
],
21-
"preLaunchTask": "qemu debug"
22-
},
23-
// lldb 不支持 riscv,需要用此配置调试
7+
// 暂时停用,linkscript 中添加自定义 section 后,断点无法命中
8+
// {
9+
// "name": "KDebug lldb",
10+
// "type": "lldb",
11+
// "request": "launch",
12+
// "program": "${workspaceFolder}/target/kernel.elf",
13+
// "initCommands": [
14+
// "platform select remote-gdb-server"
15+
// ],
16+
// "targetCreateCommands": [
17+
// "target create ${workspaceFolder}/target/kernel.elf"
18+
// ],
19+
// "processCreateCommands": [
20+
// "gdb-remote localhost:1234" // Connect to the GDB Server
21+
// ],
22+
// "preLaunchTask": "qemu debug"
23+
// },
2424
{
2525
"type": "cppdbg",
2626
"name": "KDebug cppdbg",

0 commit comments

Comments
 (0)