mirror of
https://github.com/grumpycoders/pcsx-redux.git
synced 2024-06-01 02:38:33 -04:00
237 lines
7.8 KiB
JSON
237 lines
7.8 KiB
JSON
{
|
|
// 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": [
|
|
|
|
{
|
|
"type": "gdb",
|
|
"request": "attach",
|
|
"name": "(gdb) Launch OpenBIOS",
|
|
"target": "localhost:3333",
|
|
"remote": true,
|
|
"stopAtConnect": true,
|
|
"executable": "./src/mips/openbios/openbios.elf",
|
|
"gdbpath": "/usr/bin/gdb-multiarch",
|
|
"windows": {
|
|
"gdbpath": "C:/gdb-multiarch/bin/gdb.exe",
|
|
},
|
|
"cwd": "${workspaceRoot}",
|
|
"autorun": [
|
|
"set substitute-path /project .",
|
|
"monitor reset halt",
|
|
"load ./src/mips/openbios/openbios.elf",
|
|
"tbreak main",
|
|
"continue",
|
|
],
|
|
"valuesFormatting": "parseText"
|
|
},
|
|
|
|
{
|
|
"type": "gdb",
|
|
"request": "attach",
|
|
"name": "(gdb) Launch Cube",
|
|
"target": "localhost:3333",
|
|
"remote": true,
|
|
"stopAtConnect": true,
|
|
"executable": "./src/mips/cube/cube.elf",
|
|
"gdbpath": "/usr/bin/gdb-multiarch",
|
|
"windows": {
|
|
"gdbpath": "C:/gdb-multiarch/bin/gdb.exe",
|
|
},
|
|
"cwd": "${workspaceRoot}",
|
|
"autorun": [
|
|
"set substitute-path /project .",
|
|
"monitor reset shellhalt",
|
|
"load ./src/mips/cube/cube.elf",
|
|
"tbreak main",
|
|
"continue",
|
|
],
|
|
"valuesFormatting": "parseText"
|
|
},
|
|
|
|
{
|
|
"type": "gdb",
|
|
"request": "attach",
|
|
"name": "(gdb) Launch modplayer demo",
|
|
"target": "localhost:3333",
|
|
"remote": true,
|
|
"stopAtConnect": true,
|
|
"executable": "./src/mips/modplayer/modplay-demo.elf",
|
|
"gdbpath": "/usr/bin/gdb-multiarch",
|
|
"windows": {
|
|
"gdbpath": "C:/gdb-multiarch/bin/gdb.exe",
|
|
},
|
|
"cwd": "${workspaceRoot}",
|
|
"autorun": [
|
|
"set substitute-path /project .",
|
|
"monitor reset shellhalt",
|
|
"load ./src/mips/modplayer/modplay-demo.elf",
|
|
"tbreak main",
|
|
"continue",
|
|
],
|
|
"valuesFormatting": "parseText"
|
|
},
|
|
|
|
{
|
|
"type": "gdb",
|
|
"request": "attach",
|
|
"name": "(gdb) Launch shell",
|
|
"target": "localhost:3333",
|
|
"remote": true,
|
|
"stopAtConnect": true,
|
|
"executable": "./src/mips/shell/shell.elf",
|
|
"gdbpath": "/usr/bin/gdb-multiarch",
|
|
"windows": {
|
|
"gdbpath": "C:/gdb-multiarch/bin/gdb.exe",
|
|
},
|
|
"cwd": "${workspaceRoot}",
|
|
"autorun": [
|
|
"set substitute-path /project .",
|
|
"monitor reset shellhalt",
|
|
"load ./src/mips/shell/shell.elf",
|
|
"tbreak main",
|
|
"continue",
|
|
],
|
|
"valuesFormatting": "parseText"
|
|
},
|
|
|
|
{
|
|
"type": "gdb",
|
|
"request": "attach",
|
|
"name": "(gdb) Launch Basic Test",
|
|
"target": "localhost:3333",
|
|
"remote": true,
|
|
"stopAtConnect": true,
|
|
"executable": "./src/mips/tests/basic/basic.elf",
|
|
"gdbpath": "/usr/bin/gdb-multiarch",
|
|
"windows": {
|
|
"gdbpath": "C:/gdb-multiarch/bin/gdb.exe",
|
|
},
|
|
"cwd": "${workspaceRoot}",
|
|
"autorun": [
|
|
"set substitute-path /project .",
|
|
"monitor reset shellhalt",
|
|
"load ./src/mips/tests/basic/basic.elf",
|
|
"tbreak main",
|
|
"continue",
|
|
],
|
|
"valuesFormatting": "parseText"
|
|
},
|
|
|
|
{
|
|
"type": "gdb",
|
|
"request": "attach",
|
|
"name": "(gdb) Launch libc Test",
|
|
"target": "localhost:3333",
|
|
"remote": true,
|
|
"stopAtConnect": true,
|
|
"executable": "./src/mips/tests/libc/libc.elf",
|
|
"gdbpath": "/usr/bin/gdb-multiarch",
|
|
"windows": {
|
|
"gdbpath": "C:/gdb-multiarch/bin/gdb.exe",
|
|
},
|
|
"cwd": "${workspaceRoot}",
|
|
"autorun": [
|
|
"set substitute-path /project .",
|
|
"monitor reset shellhalt",
|
|
"load ./src/mips/tests/libc/libc.elf",
|
|
"tbreak main",
|
|
"continue",
|
|
],
|
|
"valuesFormatting": "parseText"
|
|
},
|
|
|
|
{
|
|
"type": "gdb",
|
|
"request": "attach",
|
|
"name": "(gdb) Launch cpu Test",
|
|
"target": "localhost:3333",
|
|
"remote": true,
|
|
"stopAtConnect": true,
|
|
"executable": "./src/mips/tests/cpu/cpu.elf",
|
|
"gdbpath": "/usr/bin/gdb-multiarch",
|
|
"windows": {
|
|
"gdbpath": "C:/gdb-multiarch/bin/gdb.exe",
|
|
},
|
|
"cwd": "${workspaceRoot}",
|
|
"autorun": [
|
|
"set substitute-path /project .",
|
|
"monitor reset shellhalt",
|
|
"load ./src/mips/tests/cpu/cpu.elf",
|
|
"tbreak main",
|
|
"continue",
|
|
],
|
|
"valuesFormatting": "parseText"
|
|
},
|
|
|
|
{
|
|
"type": "gdb",
|
|
"request": "attach",
|
|
"name": "(gdb) Launch Tetris",
|
|
"target": "localhost:3333",
|
|
"remote": true,
|
|
"stopAtConnect": true,
|
|
"executable": "./src/mips/psyqo/examples/tetris/tetris.elf",
|
|
"gdbpath": "/usr/bin/gdb-multiarch",
|
|
"windows": {
|
|
"gdbpath": "C:/gdb-multiarch/bin/gdb.exe",
|
|
},
|
|
"cwd": "${workspaceRoot}",
|
|
"autorun": [
|
|
"set confirm off",
|
|
"set substitute-path /project .",
|
|
"load ./src/mips/openbios/openbios.elf",
|
|
"add-symbol-file ./src/mips/openbios/openbios.elf",
|
|
"monitor reset shellhalt",
|
|
"load ./src/mips/psyqo/examples/tetris/tetris.elf",
|
|
"tbreak main",
|
|
"continue",
|
|
],
|
|
"valuesFormatting": "parseText"
|
|
},
|
|
|
|
{
|
|
"name": "(gdb) Launch PCSX-Redux",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/pcsx-redux",
|
|
"args": ["-stdout", "-lua_stdout"],
|
|
"stopAtEntry": false,
|
|
"preLaunchTask": "make",
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": true,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"name": "(gdb) Launch PCSX-Redux DMA test",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/pcsx-redux-tests",
|
|
"args": ["--gtest_filter=DMA.Interpreter*"],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": true,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|