Created
July 27, 2025 21:44
-
-
Save codebrainz/4322024b594f6ebc52876559aa9f7632 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Attach to QEMU GDB Server", | |
"type": "cppdbg", | |
"request": "launch", | |
"program": "${workspaceFolder}/kernel.elf", | |
"cwd": "${workspaceFolder}", | |
"MIMode": "gdb", | |
"miDebuggerPath": "!!!SET PATH HERE!!!/bin/aarch64-none-elf-gdb", | |
"miDebuggerServerAddress": "localhost:1234", | |
"targetArchitecture": "arm64", | |
"externalConsole": false, | |
"stopAtEntry": true, | |
"setupCommands": [ | |
{ | |
"description": "Enable pretty-printing for gdb", | |
"text": "-enable-pretty-printing", | |
"ignoreFailures": true | |
}, | |
{ | |
"description": "Set sysroot if needed", | |
"text": "set sysroot /", | |
"ignoreFailures": true | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment