- 论坛徽章:
- 0
|
[root@host nfs]# arm-linux-gdb test-static
GNU gdb (Sourcery G++ Lite 2008q3-72) 6.8.50.20080821-cvs
Copyright (C) 2008 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-none-linux-gnueabi".
For bug reporting instructions, please see:
<https://support.codesourcery.com/GNUToolchain/>;...
(gdb) target remote 192.168.69.3:123
Remote debugging using 192.168.69.3:123
0x00008130 in _start ()
(gdb) c
Continuing.
Program exited normally.
[root@host nfs]# arm-linux-gdb test-share
GNU gdb (Sourcery G++ Lite 2008q3-72) 6.8.50.20080821-cvs
Copyright (C) 2008 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-none-linux-gnueabi".
For bug reporting instructions, please see:
<https://support.codesourcery.com/GNUToolchain/>;...
(gdb) source .arm-linux-gdbini
(gdb) show solib-absolute-prefix
The current system root is "/opt/arm/4.3.2/arm-none-linux-gnueabi/libc/armv4t/lib".
(gdb) target remote 192.168.69.3:123
Remote debugging using 192.168.69.3:123
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
0x400007b0 in ?? ()
(gdb) c
Continuing.
Error while mapping shared library sections:
/lib/libc.so.6: No such file or directory.
Error while mapping shared library sections:
/lib/ld-linux.so.3: No such file or directory.
Program exited normally.
///////////////
静态的可以,动态的我指明了路径也不行,难道不是在这儿设置??
或者板子上的系统的库有问题?? |
|