mirror of
https://github.com/iceHtwoO/novaOS.git
synced 2026-04-17 04:32:27 +00:00
73 lines
2.0 KiB
JSON
73 lines
2.0 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"compounds": [
|
|
{
|
|
"name": "Run QEMU + Attach LLDB",
|
|
"configurations": ["Attach LLDB"],
|
|
"preLaunchTask": "Run QEMU"
|
|
}
|
|
],
|
|
"configurations": [
|
|
{
|
|
"name": "Attach to QEMU (AArch64)",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/target/aarch64-unknown-none/debug/nova",
|
|
"miDebuggerServerAddress": "localhost:1234",
|
|
"miDebuggerPath": "gdb",
|
|
"cwd": "${workspaceFolder}",
|
|
"stopAtEntry": true,
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Show assembly on stop",
|
|
"text": "set disassemble-next-line on",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"preLaunchTask": "Run QEMU"
|
|
},
|
|
{
|
|
"name": "Attach to QEMU (AArch64) wo. window",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/target/aarch64-unknown-none/debug/nova",
|
|
"miDebuggerServerAddress": "localhost:1234",
|
|
"miDebuggerPath": "gdb",
|
|
"cwd": "${workspaceFolder}",
|
|
"stopAtEntry": true,
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Show assembly on stop",
|
|
"text": "set disassemble-next-line on",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"preLaunchTask": "Run QEMU wo window"
|
|
},
|
|
|
|
{
|
|
"name": "Attach LLDB",
|
|
"type": "lldb",
|
|
"request": "attach",
|
|
"debugServer": 1234,
|
|
"program": "${workspaceFolder}/target/aarch64-unknown-none/debug/nova",
|
|
"stopOnEntry": true,
|
|
"processCreateCommands": ["gdb-remote localhost:1234"]
|
|
}
|
|
]
|
|
}
|