diff options
Diffstat (limited to '.vscode/launch.json')
| -rw-r--r-- | .vscode/launch.json | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index 4dc9fc6..e522ad5 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -3,29 +3,18 @@ "configurations": [ { "name": "(gdb) QEMU", - "miDebuggerPath": "x86_64-pc-elf-gdb", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceFolder}/build/bin/${command:cmake.buildType}/_kernel", - "MIMode": "gdb", - "miDebuggerServerAddress": "localhost:1234", + "type": "gdb", + "request": "attach", + "remote": true, + "target": "localhost:1234", + "valuesFormatting": "prettyPrinters", + "gdbpath": "x86_64-pc-elf-gdb", "cwd": "${workspaceFolder}", - "stopAtEntry": true, "preLaunchTask": "QEMU (gdb)", - "setupCommands": [ - { - "description": "Enable pretty-printing for gdb", - "text": "-enable-pretty-printing", - "ignoreFailures": true - }, - { - "description": "Load file", - "text": "-file-exec-and-symbols ${workspaceFolder}/build/bin/${command:cmake.buildType}/_kernel" - }, - { - "description": "Set breakpoint on _start", - "text": "-break-insert _start" - } + "executable": "${command:cmake.buildDirectory}/bin/${command:cmake.buildType}/_kernel", + "autorun": [ + "-enable-pretty-printing", + "-break-insert _start" ] } ] |
