jillm4a1 发表于 2012-2-24 23:58:57

求助,gdb的watch不能用

板子上运行的:gdbserver xxx
主机上运行的:arm-linux-gdb xxx

target remote成功之后,程序停了下来,然后我只添加了一个watch,然后就输入c让程序继续运行,但是有报错:

Warning:
Could not insert hardware watchpoint 1.
Could not insert hardware breakpoints:
You may have requested too many hardware breakpoints/watchpoints.

我用info b和info watchponits看过,确实是只有这一个watch,这到底是什么引起的呢,搞了几个星期了,郁闷死了
break功能都能用,就是watch不行

请高手帮忙看看,谢谢了先
页: [1]
查看完整版本: 求助,gdb的watch不能用