Hi
Environment:ubuntu10.04 + arm-linux-gcc.4.4.3.tar.gz +
db-7.1.50.20100706.tar.bz2 . According to the
site(http://www.m5sim.org/Debugging#Debugging_simulated_code_with_GDB) ,I have
installed gdb and wrote a simple program hello.c ,I used gdb remote debugging
to debug hello.c ,then it appeared a error Error while mapping shared library
sections.
How to solve the problem? thank!
The experiment's process:
root@fengye:~/hello# arm-linux-gdb hello-static
GNU gdb (GDB) 7.1.50.20100706
Copyright (C) 2010 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 "--host=i686-pc-linux-gnu --target=arm-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /root/hello/hello-static...done.
(gdb) set remote Z-packet on
(gdb) set tdesc filename /opt/gdb-7.1/gdb/features/arm-with-neon.xml
(gdb) target remote fengye:7000
Remote debugging using fengye:7000
Error while mapping shared library sections:
8P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P:
文件名过长.
Error while mapping shared library sections:
8P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P58P:
文件名过长.
0xc014ef30 in ?? ()
(gdb) c
Continuing.
^C
Program received signal SIGILL, Illegal instruction.
0xc014e408 in ?? ()
(gdb)_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users