awatch¶
Set an access watchpoint.
awatch [-l] EXPRESSION [thread THREADNUM]
- -l[ocation] – Deprecated, always set.
- EXPRESSION – Expression of the address watch. When the address of EXPRESSION is read or written, execution of the context is stopped.
- THREADNUM – Watchpoint scope is restricted to thread number THREADNUM.
Set an access watchpoint that will break when address of EXPRESSION is either read or written.
Wind River Debugger only supports location watchpoints, EXPRESSION is evaluated to determine it’s address and size. The watchpoint is then planted using these data.
Specifying -l option or not has no impact, -l paradigm is always used.
If thread is given, the watchpoint scope is restricted to the thread number THREADNUM. THREADNUM is the thread index as displayed by “info threads”.
Do “help breakpoints” for info on other commands dealing with breakpoint.