Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Remote debugging error
Remote debugging error [message #1837135] Fri, 22 January 2021 14:52 Go to next message
Alex Alex is currently offline Alex AlexFriend
Messages: 5
Registered: November 2016
Junior Member
Hi!

Trying to start remote debug.

Host: Debian 10, x86_64, g++ 4.8, -m32 key for compiler.
Remote pc: Debian 6.0.10, i686, gdbserver 7.0.1 (i486-linux-gnu).

Can anybody explain how to fix this? Thank you!

Error when starting to debug process:
This GDB was configured as "x86_64-linux-gnu".
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".
(gdb) 0xb7788850 in ?? () from target:/lib/ld-linux.so.2                       
Reading /lib/i686/cmov/librt.so.1 from remote target...
Reading /lib/i686/cmov/libdl.so.2 from remote target...
Reading /usr/lib/libstdc++.so.6 from remote target...
Reading /lib/i686/cmov/libm.so.6 from remote target...
Reading /lib/libgcc_s.so.1 from remote target...
Reading /lib/i686/cmov/libc.so.6 from remote target...
Reading /lib/i686/cmov/libpthread.so.0 from remote target...
Reading /lib/i686/cmov/librt-2.11.3.so from remote target...
Reading /lib/i686/cmov/.debug/librt-2.11.3.so from remote target...
Reading /lib/i686/cmov/libdl-2.11.3.so from remote target...
Reading /lib/i686/cmov/.debug/libdl-2.11.3.so from remote target...
Error while reading shared library symbols for target:/usr/lib/libstdc++.so.6:
Remote connection closed
Error while reading shared library symbols for target:/lib/i686/cmov/libm.so.6:
Can't read symbols from target:/lib/i686/cmov/libm.so.6: Input/output error
Error while reading shared library symbols for target:/lib/libgcc_s.so.1:
Can't read symbols from target:/lib/libgcc_s.so.1: Input/output error
Error while reading shared library symbols for target:/lib/i686/cmov/libc.so.6:
Can't read symbols from target:/lib/i686/cmov/libc.so.6: Input/output error
Error while reading shared library symbols for target:/lib/i686/cmov/libpthread.so.0:
Can't read symbols from target:/lib/i686/cmov/libpthread.so.0: Input/output error
Re: Remote debugging error [message #1837466 is a reply to message #1837135] Sat, 30 January 2021 21:45 Go to previous message
J.R. Heisey is currently offline J.R. HeiseyFriend
Messages: 10
Registered: July 2013
Junior Member
- First you can debug fine without the symbols for these shared libraries.
- The errors may be ignored.
- It can be convenient to have the symbols available.

- Sometimes a Linux distro will provide a separate RPM (or equivalent) that installs the symbols for these libraries as separate files.
- You might want to contact a forum for your Linux distro.
- Otherwise you may need to rebuild these libraries and enable symbols to be built into the libraries.

[Updated on: Sat, 30 January 2021 21:46]

Report message to a moderator

Previous Topic:Remote Debugging through gateway
Next Topic:Eclipse crashing when it calles gdb or running the C application
Goto Forum:
  


Current Time: Sat Nov 02 15:03:15 GMT 2024

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

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

Back to the top