ubuntu5.10版本中的GDB使用的问题

软件和网站开发以及相关技术探讨
回复
evilll
帖子: 5
注册时间: 2008-02-04 23:41

ubuntu5.10版本中的GDB使用的问题

#1

帖子 evilll » 2008-02-04 23:50

按照网上的例子学习使用GDB
使用watch的时候,发现没有出现变量的显示。
而且会出现
(gdb) next
warning: Could not remove hardware watchpoint 2.
Warning:
Could not insert hardware watchpoint 2.
Could not insert hardware breakpoints:
You may have requested too many hardware breakpoints/watchpoints.
我在网上搜了,发现也有人说过这个现象,但都是没有给解决的。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2008-02-05 0:12

版本说明下。系统的,软件的。我不相信你用的5.10哦。
● 鸣学
evilll
帖子: 5
注册时间: 2008-02-04 23:41

#3

帖子 evilll » 2008-02-05 23:43

使用uname -a查到的信息中Release: 5.10
使用gcc -v查到的信息 gcc version 4.0.2 20050808(prerelease)
GNU gdb 6.3-debian
回复