aboutsummaryrefslogtreecommitdiff
path: root/.vscode/launch.json
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-07-14 11:20:32 +0000
committerFelix Morgner <felix.morgner@ost.ch>2025-07-14 11:20:32 +0000
commit116f9332a206767c45095950f09f7c7447b561cf (patch)
treec0d124784ba2bb4f83c9aa87868d0dfdde894c22 /.vscode/launch.json
parentc67b4843f6defe676831d023a8434d84f99db532 (diff)
downloadteachos-116f9332a206767c45095950f09f7c7447b561cf.tar.xz
teachos-116f9332a206767c45095950f09f7c7447b561cf.zip
ide: improve support for vscodium
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json31
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"
]
}
]