determining the level of granularity I have with asm symbolic debugging.

This commit is contained in:
2025-08-06 08:44:20 -04:00
parent c052253b0e
commit b9494d219f
15 changed files with 574 additions and 15 deletions
+3 -6
View File
@@ -4,17 +4,14 @@
"name": "The Usual",
"includePath": [
"${env:AppData}/mips/mips/include",
"${workspaceFolder}/code",
"${workspaceFolder}/toolchain/pcsx-redux/src/mips",
"${workspaceFolder}/toolchain/psyq-4_7/include"
],
"cStandard": "c17",
"defines": [
"__STDC_HOSTED__ = 0"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
"__STDC_HOSTED__ = 0",
"INTELLISENSE_DIRECTIVES=1"
],
"intelliSenseMode": "gcc-x86"
}
+24
View File
@@ -27,6 +27,30 @@
"tbreak main",
"continue"
]
},
{
"name": "Debug: Hello GPU Psy-Q!",
"type": "gdb",
"request": "attach",
"target": "localhost:3333",
"remote": true,
"cwd": "${workspaceRoot}/build",
"valuesFormatting": "parseText",
"stopAtConnect": true,
"gdbpath": "gdb-multiarch",
"windows": {
"gdbpath": "gdb-multiarch.exe"
},
"osx": {
"gdbpath": "gdb"
},
"executable": "${workspaceRoot}/build/hello_gpu.elf",
"autorun": [
"monitor reset shellhalt",
"load hello_gpu.elf",
"tbreak main",
"continue"
]
}
]
}
+14 -2
View File
@@ -1,9 +1,21 @@
{
"files.associations": {
"*.rmd": "markdown",
"*.s": "armips",
"*.s": "gas",
"*.asm": "gas",
"stdlib.h": "c",
"libetc.h": "c",
"libgpu.h": "c"
"libgpu.h": "c",
"stddef.h": "c",
"abs.h": "c",
"qsort.h": "c",
"malloc.h": "c",
"convert.h": "c",
"type_traits": "c",
"xlocmon": "c",
"iterator": "c",
"regex": "c",
"dsl.h": "c",
"xlocale": "c"
}
}