Update vscode configs

This commit is contained in:
Alex 2023-05-21 06:05:26 +03:00
parent d949a1a449
commit ed5faa7b55
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 18 additions and 8 deletions

View File

@ -15,6 +15,7 @@
"GIT_COMMIT=\"0000000000000000000000000000000000000000\"", "GIT_COMMIT=\"0000000000000000000000000000000000000000\"",
"GIT_COMMIT_SHORT=\"0000000\"", "GIT_COMMIT_SHORT=\"0000000\"",
"a64", "a64",
"a86",
"DEBUG=\"1\"" "DEBUG=\"1\""
], ],
"compilerPath": "${workspaceFolder}/../tools/cross/bin/amd64-elf-gcc", "compilerPath": "${workspaceFolder}/../tools/cross/bin/amd64-elf-gcc",
@ -66,6 +67,7 @@
"GIT_COMMIT=\"0000000000000000000000000000000000000000\"", "GIT_COMMIT=\"0000000000000000000000000000000000000000\"",
"GIT_COMMIT_SHORT=\"0000000\"", "GIT_COMMIT_SHORT=\"0000000\"",
"a32", "a32",
"a86",
"DEBUG=\"1\"" "DEBUG=\"1\""
], ],
"compilerPath": "${workspaceFolder}/../tools/cross/bin/i386-elf-gcc", "compilerPath": "${workspaceFolder}/../tools/cross/bin/i386-elf-gcc",

24
.vscode/launch.json vendored
View File

@ -5,15 +5,15 @@
"name": "/init", "name": "/init",
"type": "cppdbg", "type": "cppdbg",
"request": "launch", "request": "launch",
"program": "${workspaceRoot}/out/init", "program": "${workspaceFolder}/out/bin/init",
"cwd": "${workspaceRoot}", "cwd": "${workspaceFolder}",
"args": [], "args": [],
"targetArchitecture": "x64", "targetArchitecture": "x64",
"MIMode": "gdb", "MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb", "miDebuggerPath": "/usr/bin/gdb",
"miDebuggerArgs": "", "miDebuggerArgs": "",
"externalConsole": false, "externalConsole": false,
"additionalSOLibSearchPath": "${workspaceRoot}", "additionalSOLibSearchPath": "${workspaceFolder}",
"customLaunchSetupCommands": [ "customLaunchSetupCommands": [
{ {
"text": "target remote localhost:1234", "text": "target remote localhost:1234",
@ -31,24 +31,28 @@
"description": "Make breakpoint pending on future shared library load." "description": "Make breakpoint pending on future shared library load."
}, },
{ {
"text": "file ${workspaceRoot}/out/init", "text": "file ${workspaceFolder}/out/bin/init",
"description": "Load binary." "description": "Load binary."
}, },
{
"text": "add-symbol-file ${workspaceFolder}/../Kernel/kernel.fsys",
"description": "Load kernel binary."
},
] ]
}, },
{ {
"name": "/bin/doom", "name": "/bin/doom",
"type": "cppdbg", "type": "cppdbg",
"request": "launch", "request": "launch",
"program": "${workspaceRoot}/out/bin/doom", "program": "${workspaceFolder}/out/usr/bin/doom",
"cwd": "${workspaceRoot}", "cwd": "${workspaceFolder}",
"args": [], "args": [],
"targetArchitecture": "x64", "targetArchitecture": "x64",
"MIMode": "gdb", "MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb", "miDebuggerPath": "/usr/bin/gdb",
"miDebuggerArgs": "", "miDebuggerArgs": "",
"externalConsole": false, "externalConsole": false,
"additionalSOLibSearchPath": "${workspaceRoot}", "additionalSOLibSearchPath": "${workspaceFolder}",
"customLaunchSetupCommands": [ "customLaunchSetupCommands": [
{ {
"text": "target remote localhost:1234", "text": "target remote localhost:1234",
@ -66,9 +70,13 @@
"description": "Make breakpoint pending on future shared library load." "description": "Make breakpoint pending on future shared library load."
}, },
{ {
"text": "file ${workspaceRoot}/out/bin/doom", "text": "file ${workspaceFolder}/out/usr/bin/doom",
"description": "Load binary." "description": "Load binary."
}, },
{
"text": "add-symbol-file ${workspaceFolder}/../Kernel/kernel.fsys",
"description": "Load kernel binary."
},
] ]
} }
] ]