刚开始学gdb,今天一直在按精华区 的教程"http://www.linuxsir.cn/bbs/showthread.php?t=50345"做联系,可我设置好watch之后next就出错,gdb显示如下,不能跟踪变量,不知为何,请各位 指点,谢谢!
(gdb) watch string2[size-i]
Hardware watchpoint 2: string2[size - i]
(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. |