免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2832 | 回复: 1
打印 上一主题 下一主题

我的gdb为甚么不能用,启动后输入任何命令就死悄悄了! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-03-29 15:18 |只看该作者 |倒序浏览
# gdb\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 \"i386-pc-solaris2.9\".\r\n(gdb) Segmentation Fault - core dumped\r\n# \r\n\r\n在光标处输入任一字符后变成\r\n# gdb\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 \"i386-pc-solaris2.9\".\r\n(gdb) Segmentation Fault - core dumped\r\n# \r\n\r\n再不接受任何输入!\r\n\r\n       

论坛徽章:
5
荣誉会员
日期:2011-11-23 16:44:17CU大牛徽章
日期:2013-09-18 15:15:15CU大牛徽章
日期:2013-09-18 15:15:45未羊
日期:2014-02-25 14:37:19射手座
日期:2014-12-26 22:55:37
2 [报告]
发表于 2004-03-29 17:28 |只看该作者

我的gdb为甚么不能用,启动后输入任何命令就死悄悄了!

嗯,你的gdb是自己编译的还是怎么弄的,我当时发现sunfree ware提供的gcc3.3.2编译生成的binary有问题,emacs也有类似问题。我自己编译了gcc3.3.3,然后用gcc3.3.3来编译gdb6就搞定了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP