-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(riscv)Error executing command 'gdb-set target-async on' [conflicting gdbinit files] #454
Comments
How did you fix this yourself (which is the state of the issue)? [note: the real error message says you need to |
I found that there was already set .gdbinit file, and it was like this:
So I think that it made collision with the launch.json configuration. When I deleted that line target remote ..., I got right. |
And I was working with my GPT, he said that was the problem. Therefore I kinda obsessed with that problem. T.T |
Thanks for the information - so it was a "user issue outside of the extension" (it does not know which gdbinit files are used, the only thing it could do is requesting GDB to not load any gdbinit files - but that will break a bunch of working installations; and one can already add |
version: 0.27.0
OS: macOS Sequoia 15.3.1
GDB: riscv64-elf-gdb 16.2
I am currently trying to attach my gdb to qemu, emulating riscv64.
My launch.json setting is this:
And due to the debug console, "0x0000000000001000 in ?? ()", I think the attach was successful.

However, after that, gdb terminates and my qemu session terminates also.
Is it due to 'set target-async' command?
How can I fix this?
The text was updated successfully, but these errors were encountered: