When using hardware watchpoints on Coldfire (5307) with
the BDM patch applied against the 5.3.92 version of gdb
control is not returned to the debugger interface
he actual command to do the watch is
watch variable
Here is example output from gdb5.2.1 (working)
(u32FFSClose is a global variable that gets during
startup).
(gdb) watch u32FFSClose
Hardware watchpoint 1: u32FFSClose
(gdb) c
Continuing.
Hardware watchpoint 1: u32FFSClose
Old value = (UINT32 (*)()) 0
New value = (UINT32 (*)()) 0x8014796
0x080eb372 in u32RtlXRef (pstSymName=0x80f08df
"FFSCLOSE", pvRefAddr=0x80f0de4, u8SymFlags=1 '\001')
at rtlk.c:170
(gdb)
In the gdb 5.3.92 I get
(gdb) watch u32FFSClose
Watchpoint 1: u32FFSClose
(gdb) c
....