AnsweredAssumed Answered

i.MX6Q: gdb rwatch error

Question asked by Tarek El-Sherbiny on Jun 21, 2013
Latest reply on Sep 10, 2013 by Yixing Kong
Branched to a new discussion



I would like to set a breakpoint in gdb when memory address is accessed using this command:

(gdb) rwatch *0xde400000

Hardware read watchpoint 1: *0xde400000


When I run the program I get this error:

(gdb) r

Starting program: /root/console

Unexpected error setting breakpoint: Invalid argument.



I think the system is capable of handling one hw watchpoint:

(gdb) show can-use-hw-watchpoints

Debugger's willingness to use watchpoint hardware is 1.


But I don't understand why can't I use it!


My gdb is version 7.5.1 and I'm using LTIB


Any ideas?