-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
When I manually start it it works great
riscv-none-elf-gdb.exe build\obj\proj.elf -ex "target extended-remote 127.0.0.1:3333"
but from VScode it prints this in Debug console, and exits, I can't even scroll in Debug console.
GNU gdb (xPack GNU RISC-V Embedded GCC x86_64) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=x86_64-w64-mingw32 --target=riscv-none-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
so looks like it founds it, I think I got the same config, so no idea.
I added a break point to main() too.
my config:
{
"version": "0.2.0",
"configurations": [
{
"type": "by-gdb",
"request": "launch",
"name": "Launch(remote)",
"debuggerPath": "riscv-none-elf-gdb.exe",
"program": "..\\build\\obj\\proj.elf",
"cwd": "${workspaceRoot}",
"remote": {
"enabled": true,
"address": "127.0.0.1:3333",
"mode": "extended-remote",
}
},
]
}
No issue when using PC type of gdb.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels