-
Notifications
You must be signed in to change notification settings - Fork 48
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
GDB and gdbserver cannot step on Linux targets #631
Comments
The issue may be reproduced both on QEMU and HSDK. |
I cannot reproduce this on a linux image that I built in march for ebpf testing. |
I face the issue when stepping (using just |
I can confirm that I do see incorrect behaviour with Anyhow, this is the incorrect behaviour I observe:
Here, when about to execute the |
This is how a native x86_64 gdb behaves:
It steps into the unknown ( |
A sample program:
Try to perform
step
on ARC HS3x/4x Linux host using native GDB:Try to perform
stepi
on ARC HS3x/4x Linux host using native GDB:The same issue exists when debugging using
gdbserver
on a target system. The issue may be reproduced at least forarc-2023.09
release and later.The text was updated successfully, but these errors were encountered: