1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) QEMU",
"type": "cppdbg",
"request": "launch",
"cwd": "${workspaceFolder}",
"stopAtEntry": true,
"miDebuggerServerAddress": "localhost:1234",
"miDebuggerPath": "x86_64-pc-elf-gdb",
"preLaunchTask": "QEMU (gdb)",
"MIMode": "gdb",
"program": "${command:cmake.buildDirectory}/bin/${command:cmake.buildType}/kernel.sym",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Load code",
"text": "-file-exec-file ${command:cmake.buildDirectory}/bin/${command:cmake.buildType}/kernel.elf"
},
{
"description": "Load symbols",
"text": "-file-exec-and-symbols ${command:cmake.buildDirectory}/bin/${command:cmake.buildType}/kernel.sym"
}
]
}
]
}
|