| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- {
- "configurations": [
- {
- "type": "cppdbg",
- "request": "launch",
- "name": "Launch Kernel",
- "program": "${workspaceFolder}/build/kernel.sym",
- "args": [],
- "stopAtEntry": false,
- "cwd": "${workspaceFolder}",
- "environment": [],
- "externalConsole": false,
- "MIMode": "gdb",
- "miDebuggerPath": "/Users/david/.local/riscv64-unknown-elf-gcc-8.3.0-2020.04.1-x86_64-apple-darwin/bin/riscv64-unknown-elf-gdb",
- "miDebuggerServerAddress": "127.0.0.1:1234",
- "setupCommands": [
- // {
- // "text": "source ${env:HOME}/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/etc/gdb_load_rust_pretty_printers.py",
- // "description": "Load Rust pretty printers",
- // "ignoreFailures": false
- // },
- {
- "text": "-enable-pretty-printing",
- "description": "Enable GDB pretty printing",
- "ignoreFailures": true
- },
- // {
- // "text": "source ${workspaceFolder}/pretty-print.py",
- // "description": "Load GDB pretty printers",
- // "ignoreFailures": false
- // },
- ],
- "preLaunchTask": "debug run",
- "postDebugTask": "kill qemu"
- },
- {
- "type": "cppdbg",
- "request": "launch",
- "name": "Attach Kernel",
- "program": "${workspaceFolder}/build/kernel.sym",
- "args": [],
- "stopAtEntry": false,
- "cwd": "${workspaceFolder}",
- "environment": [],
- "externalConsole": false,
- "MIMode": "gdb",
- "miDebuggerPath": "x86_64-elf-gdb",
- "miDebuggerServerAddress": "127.0.0.1:1234",
- "setupCommands": [
- {
- "text": "-enable-pretty-printing",
- "description": "Enable GDB pretty printing",
- "ignoreFailures": true
- }
- ]
- }
- ]
- }
|