gdbstub/.vscode/launch.json

33 lines
1002 B
JSON
Raw Normal View History

2025-09-21 16:18:35 +08:00
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/mini-gdbstub/build/emu",
"args": ["./mini-gdbstub/build/emu_test.bin"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/mini-gdbstub",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
}
]
}