Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Remote debug terminated(I can debug remote application using gdb in terminal, but it does not work from eclipse)
Remote debug terminated [message #1815732] Wed, 09 October 2019 09:06
Eclipse UserFriend
There is gdbserver 8.0 running on target board.
I compiled gdb 8.0 on my host computer with this configuration --host=x86_64-pc-linux-gnu --target=arm-linux-gnueabi

When I call gdb from console on my host computer, everything is running properly and I can debug target:
GNU gdb (GDB) 8.0
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later *** cannot insert links
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 "--host=x86_64-pc-linux-gnu --target=arm-linux-gnueabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
*** cannot insert links
Find the GDB manual and other documentation resources online at:
*** cannot insert links.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Reading /user/etc/modular-mcp-debug from remote target...

warning: File transfers from remote targets can be slow. Use "set sysroot" to access files locally instead.
Reading /user/etc/modular-mcp-debug from remote target...
Reading symbols from target:/user/etc/modular-mcp-debug...done.
Reading /lib/ld-linux-armhf.so.3 from remote target...
Reading /lib/ld-linux-armhf.so.3 from remote target...
Reading /lib/ld-2.28.so from remote target...
Reading /lib/.debug/ld-2.28.so from remote target...
0xb6fd7a40 in ?? () from target:/lib/ld-linux-armhf.so.3
(gdb) b main
Breakpoint 1 at 0x63432a: file ../main/src/mcp_main.c, line 46.
(gdb) c
Continuing.
Reading /lib/libpthread.so.0 from remote target...


When I call same gdb from Eclipse I see this output in Eclipse debugging console
GNU gdb (GDB) 8.0
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
*** cannot insert links
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 "--host=x86_64-pc-linux-gnu --target=arm-linux-gnueabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
*** cannot insert links
Find the GDB manual and other documentation resources online at:
*** cannot insert links
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) 0xb6fd7a40 in ?? () from target:/lib/ld-linux-armhf.so.3


I see only difference that there are no messages like this
Reading /user/etc/modular-mcp-debug from remote target...

in Eclipse console...

Debugging is terminated with this message
Break at address "0xb6fd7a40" with no debug information available, or outside of program code


Please see attached screenshots from my Eclipse (2019-06, running on Debian 9.8.2)
Previous Topic:Eclipse can't find includes
Next Topic:Eclipse CDT Arduino Uno WIFI Rev 2 make/link issues
Goto Forum:
  


Current Time: Mon Jun 23 08:52:48 EDT 2025

Powered by FUDForum. Page generated in 0.05436 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top