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:
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