Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Remote GDB 8 years 7 months ago #9598

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
Hello Sir!

I have are trouble with remote debugging :dry: My CT host it is Linux in VirtualBox, target SoC ARM. I use remote debugging on SSH.

if i run gdb %my_elf% in taget i view this message:
GNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 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 "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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"...
Reading symbols from pdd...done.

If i run debugging from host i see:
~"Reading symbols from gdb..." ~"(no debugging symbols found)...done.\n"
Continue?
And crash gdb =( Why not work? Please help

Please Log in or Create an account to join the conversation.

Remote GDB 8 years 7 months ago #9599

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
0. Install on host arm-none-eabi-gdb
1. In my ARM SoC i start gdb server gdbserver 192.168.7.176:2159 ./prog
2. Select in debbuger options -> GNU remote debugger (gdbserver)
3. Select debugger path -> /usr/bin/arm-none-eabi-gdb
4. In run options select are main app and work dir
5. Set are breakpoint
6. Run

Breakpoint is work. Application stop, but if i click F8 then target tty print this
sinicin@arm:~$ gdbserver 192.168.7.176:2159 ./pdd
Process ./pdd created; pid = 1975
Listening on port 2159
Remote debugging from host 192.168.0.67
/build/gdb-IXZ1_Y/gdb-7.11/gdb/gdbserver/linux-low.c:3142: A problem internal to GDBserver has been detected.
linux_wait_1: Assertion `target_options & TARGET_WNOHANG' failed.
sinicin@arm:~$ 

Please help me :(

Please Log in or Create an account to join the conversation.

  • Page:
  • 1