-
Notifications
You must be signed in to change notification settings - Fork 122
target extended-remote with restart support #183
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
Comments
can you try to update gdb? The internal problem to GDB seems like it could be a reason (in the mi interface there could be bugs) |
I tried another setup (without cross compile effort: both x86_64) with a newer version of gdb: Host: Target: Here the same: running gdb in the terminal (without VS code/native debug) using gdb's command r/restart everything works fine |
hm I think that's another issue (because /usr/bin/gdb doesn't exist in the scope of the debugger extension, which is its own process) |
How would the correct |
as you are on windows you need a gdb.exe and point to that with your gdbpath variable (as C:... path) |
@WebFreak001 you are right. In the setup of #183 (comment) I used Nearly same setup but with |
Is it possible to have
|
Setup:
gdbserver version: 7.11.1 ("gdbserver was configured as "aarch64-buildroot-linux-uclibc"")
aarch64-linux-gdb version: 7.11.1
VS Code version: 1.34.0
native debug version: 0.23.1
On the target (embedded Linux OS build with buildroot) I start
gdbserver
as following:$ gdbserver --multi :2345
My launch.json:
With this launch.json debugging with VS code is possible, but without the "restart" and "stop" functionality.
Activating a "Start Debugging" following outputs are produced:
target:
host:
Without the "run" autorun-option, following host output is printed:
On the other hand, running gdb in the terminal (without VS code/native debug) using gdb's command
r/restart
everything works fine:target:
host:
Therefore: Do I have a wrong launch.json file or are modifications to native debug necessary?
The text was updated successfully, but these errors were encountered: