MDB Reference: watch
watch address breakpointtype[:value] [passcount]
Use 'print /a' to determine a variable's address.
- Data memory address to watch
- R = Read, W = Write, RW = Read or Write
- Value that must be read or written for break to occur
- Number of times event must occur before program will break
> print /a LATA The address of LATA: 0x1f886030 > watch 0x1f886030 W:0x01 Watchpoint 1.