- 论坛徽章:
- 0
|
我在solaris 8上 用gdb 调试程序,只要一执行r命令,就提示Bus Error (core dumped),怎么解决?\r\n其调试信息如下:\r\nsvr1 # gdb ./mgr_clt\r\nGNU gdb 6.0\r\nCopyright 2003 Free Software Foundation, Inc.\r\nGDB is free software, covered by the GNU General Public License, and you are\r\nwelcome to change it and/or distribute copies of it under certain conditions.\r\nType \"show copying\" to see the conditions.\r\nThere is absolutely no warranty for GDB. Type \"show warranty\" for details.\r\nThis GDB was configured as \"sparc-sun-solaris2.8\"...\r\n(gdb) b main\r\nBreakpoint 1 at 0x10d6c: file mgr_clt.c, line 31.\r\n(gdb) r\r\nStarting program: /export/home/test/mgr_clt/mgr_clt \r\nBus Error (core dumped) |
|