- 论坛徽章:
- 0
|
调试过程如下:
hegreas@hegreas-desktop:~/test/bin$ ./arm-linux-gdb sidd
GNU gdb 6.1.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux"...
(gdb) target remote 192.168.210.92:7008
Remote debugging using 192.168.210.92:7008
0x400009d0 in ?? ()
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
(gdb) c
Continuing.
Program received signal SIGILL, Illegal instruction.
0x00009280 in _start ()
(gdb) info stack
#0 0x00009280 in _start ()
#1 0x40003bdc in ?? ()
Cannot access memory at address 0x0
(gdb) c
Continuing.
Program terminated with signal SIGILL, Illegal instruction.
The program no longer exists.
(gdb) info stack
No stack.
(gdb)
程序是个较长的多线程程序,为什么总是刚开始就退出了,到底问题出在哪里,希望各位高手帮忙。 |
|