henghuai@shenghuai-3G:~/3G-Works/3G-Encoder/src/amplesky/gdb$ arm-linux-gdb --core=core
GNU gdb (GDB) 7.2
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/>.
[New Thread 1491]
Core was generated by `./a.out'.
Program terminated with signal 11, Segmentation fault.
#0 0x000083a0 in ?? ()
接下来指定可执行文件(含调试信息)
(gdb) file ./a.out
Reading symbols from /scratchbox/users/shenghuai/home/shenghuai/marvell-sdk/pxalinux/3G-encoder/src/amplesky/gdb/a.out...done.
(gdb) bt
#0 0x000083a0 in just_a_test () at hello.c:7
#1 0x000083c4 in main () at hello.c:14