- 论坛徽章:
- 0
|
我在solaris 8上 用gdb 调试程序,只要一执行r命令,就提示Bus Error (core dumped),怎么解决?
其调试信息如下:
svr1 # gdb ./mgr_clt
GNU gdb 6.0
Copyright 2003 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 "sparc-sun-solaris2.8"...
(gdb) b main
Breakpoint 1 at 0x10d6c: file mgr_clt.c, line 31.
(gdb) r
Starting program: /export/home/test/mgr_clt/mgr_clt
Bus Error (core dumped) |
|