wasm-micro-runtime/core/iwasm
Callum Macmillan ead6478285 Add memory watchpoint support for source debugger (#1762)
Allow to add watchpoints to variables for source debugging. For instance:
`breakpoint set variable var`
will pause WAMR execution when the address at var is written to.
Can also set read/write watchpoints by passing r/w flags. This will pause
execution when the address at var is read:
`watchpoint set variable -w read var`

Add two linked lists for read/write watchpoints. When the debug message
handler receives a watchpoint request, it adds/removes to one/both of these
lists. In the interpreter, when an address is read or stored to, check whether
the address is in these lists. If so, throw a sigtrap and suspend the process.
2022-12-20 14:37:07 +08:00
..
aot Fix wasm-c-api import func link issue in wasm_instance_new (#1787) 2022-12-20 14:37:07 +08:00
common Fix wasm-c-api import func link issue in wasm_instance_new (#1787) 2022-12-20 14:37:07 +08:00
compilation Fix issues reported by Coverity (#1775) 2022-12-01 19:24:13 +08:00
fast-jit Fix a typo in workflow (#1760) 2022-11-30 14:00:30 +08:00
include Adding option to pass user data to allocator functions (#1765) 2022-11-30 16:19:18 +08:00
interpreter Add memory watchpoint support for source debugger (#1762) 2022-12-20 14:37:07 +08:00
libraries Add memory watchpoint support for source debugger (#1762) 2022-12-20 14:37:07 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00