gdb stops with too many watchpoints when there is only one

后端 未结 3 1693
迷失自我
迷失自我 2021-01-01 16:10

Do you know any other reasons why a watchpoint could not be inserted other than too many hardware breakpoints/watchpoints?

I have the following debug session:

<
3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-01 17:16

    Can force software breakpoints (which do not have limit on size) by running

    set can-use-hw-watchpoints 0

提交回复
热议问题