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 not working for orange pi zero #643
Comments
Did you try installing
|
Hi, Dump in my case: Program received signal SIGSEGV, Segmentation fault. Program terminated with signal SIGSEGV, Segmentation fault. |
Just tested a fresh Debian Jessie image with the legacy kernel.
If remote debugging fails for you, then it's most likely your remote debugging setup problem and not Armbian problem. |
Sorry, I forget to mention it was about remote debugging and I use Ubuntu Xenial. |
This issue was started as a problem with local debugging, and according to the tests it works fine (with some workarounds). Remote debugging issues are not related to the kernel configuration or Armbian build configuration, and unfortunately I have no idea what may be the cause here. |
However it is off-topic, but let me post, the solution to remote debugging problem can be found here: |
Also according to this Edit: didn't scroll down far enough, the last posts is the same as the link above |
Closing since local debugging works; remore debugging problems are related to remote toolchains, so not Armbian related issue. |
Required packages: apt-get install libc6-dbg |
Reproduction steps
compiled with g++ and -g for symbols.
#./hello
hello, world!
all good
but
#gdb ./hello
(gdb) r
Starting program: /root/src/WiringOP-Zero/examples/hello
Please refer to raspberrypi/linux#766
for a fix
Im sure if i can get this working then my remote debugging will work also.
Any help would be appreciated.
Cheers.
The text was updated successfully, but these errors were encountered: