2024-03-12 05:41:34 +00:00
|
|
|
{
|
|
|
|
"configurations": [
|
2024-03-15 06:19:39 +00:00
|
|
|
{
|
|
|
|
"name": "(gdb, Linux) Launch hello.elf",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/build/src/hello.elf",
|
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${fileDirname}",
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gdb, Linux) Launch gl.elf",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/build/src/gl.elf",
|
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${fileDirname}",
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2024-03-14 04:49:35 +00:00
|
|
|
{
|
|
|
|
"name": "(gdb) Launch gl.elf",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
2024-03-15 06:19:39 +00:00
|
|
|
"program": "${workspaceFolder}/build/src/gl.elf",
|
2024-03-14 04:49:35 +00:00
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"miDebuggerPath": "/opt/toolchains/dc/sh-elf/bin/sh-elf-gdb",
|
|
|
|
"miDebuggerServerAddress": "localhost:3263",
|
|
|
|
"debugServerPath": "/usr/bin/flycast",
|
2024-03-15 06:19:39 +00:00
|
|
|
"debugServerArgs": "${workspaceFolder}/build/src/gl.elf",
|
2024-03-14 04:49:35 +00:00
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Set SuperH architechture",
|
|
|
|
"text": "set architecture sh4"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"avoidWindowsConsoleRedirection": false,
|
|
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gdb) Launch cube.elf",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
2024-03-15 06:19:39 +00:00
|
|
|
"program": "${workspaceFolder}/build/src/cube.elf",
|
2024-03-14 04:49:35 +00:00
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"miDebuggerPath": "/opt/toolchains/dc/sh-elf/bin/sh-elf-gdb",
|
|
|
|
"miDebuggerServerAddress": "localhost:3263",
|
|
|
|
"debugServerPath": "/usr/bin/flycast",
|
2024-03-15 06:19:39 +00:00
|
|
|
"debugServerArgs": "${workspaceFolder}/build/src/cube.elf",
|
2024-03-14 04:49:35 +00:00
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Set SuperH architechture",
|
|
|
|
"text": "set architecture sh4"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"avoidWindowsConsoleRedirection": false,
|
|
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gdb, lxdream-nitro) Launch cube.elf",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
2024-03-15 06:19:39 +00:00
|
|
|
"program": "${workspaceFolder}/build/src/cube.elf",
|
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"miDebuggerPath": "/opt/toolchains/dc/sh-elf/bin/sh-elf-gdb",
|
|
|
|
"miDebuggerServerAddress": "localhost:3263",
|
|
|
|
"debugServerPath": "/home/user/Downloads/lxdream-nitro/builddir/lxdream-nitro",
|
|
|
|
"debugServerArgs": "-d -g 3263 -e ${workspaceFolder}/build/src/cube.elf",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Set SuperH architechture",
|
|
|
|
"text": "set architecture sh4"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"avoidWindowsConsoleRedirection": false,
|
|
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gdb, lxdream-nitro) Launch gl.elf",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/build/src/gl.elf",
|
2024-03-14 04:49:35 +00:00
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"miDebuggerPath": "/opt/toolchains/dc/sh-elf/bin/sh-elf-gdb",
|
|
|
|
"miDebuggerServerAddress": "localhost:3263",
|
|
|
|
"debugServerPath": "/home/user/Downloads/lxdream-nitro/builddir/lxdream-nitro",
|
2024-03-15 06:19:39 +00:00
|
|
|
"debugServerArgs": "-d -g 3263 -e ${workspaceFolder}/build/src/gl.elf",
|
2024-03-14 04:49:35 +00:00
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Set SuperH architechture",
|
|
|
|
"text": "set architecture sh4"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"avoidWindowsConsoleRedirection": false,
|
|
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
|
|
}
|
2024-03-12 05:41:34 +00:00
|
|
|
]
|
|
|
|
}
|