solaris 8 上 用gdb 调试程序就Bus Error (core dumped)怎么解决?

weixin_38058190 2006-09-20 09:05:23

我在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)
...全文
24 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复

474

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧