Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHi,
I would like to know why I have these errors when I try to debug.Program exited normally.
(gdb) target remote 192.168.1.10:9999
Remote debugging using 192.168.1.10:9999
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
0x2aaa8784 in ?? ()
(gdb) break 9
Breakpoint 5 at 0x1550: file /home/garcia/Escritorio/nios2-linux/uClinux-dist/user/Switchos/Switchos.c, line 9.
(gdb) c
Continuing.
Error while mapping shared library sections:
"/lib/libc.so.6": not in executable format: File format not recognized.
Error while mapping shared library sections:
/lib/ld.so.1: No such file or directory.
Error while reading shared library symbols:
"/lib/libc.so.6": can't read symbols: File format not recognized.I know that I could debug although these errors, but I think that I have indicated the path of shared library with this command: set solib-absolute-prefix ~/Escritorio/nios2-linux/toolchain-mmu/x86-linux2/nios2-linux-gnu/libc/lib
If someone can suggest me any clue about these errors, I work with Ubuntu 9.04 and uClinux with MMU. Many thanks