wasm-micro-runtime/core/iwasm/interpreter
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
..
iwasm_interp.cmake Implement wasm mini loader and refine footprint of loader and runtime (#276) 2020-06-08 11:19:09 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
wasm_interp_classic.c Add memory watchpoint support for source debugger (#1762) 2022-12-20 14:37:07 +08:00
wasm_interp_fast.c Fix wasm-c-api import func link issue in wasm_instance_new (#1787) 2022-12-20 14:37:07 +08:00
wasm_interp.h Fix issue of restoring wasm operand stack (#1721) 2022-11-18 18:51:13 +08:00
wasm_loader.c Remove unused LLVM JIT wapper functions (#1747) 2022-11-25 11:26:08 +08:00
wasm_loader.h Fix build error when enable custom section without interpreter (#1229) 2022-06-15 18:14:39 +08:00
wasm_mini_loader.c Fix issues reported by Coverity (#1775) 2022-12-01 19:24:13 +08:00
wasm_opcode.h Refine opcode br_table for classic interpreter (#1112) 2022-04-23 19:15:55 +08:00
wasm_runtime.c Fix wasm-c-api import func link issue in wasm_instance_new (#1787) 2022-12-20 14:37:07 +08:00
wasm_runtime.h Fix wasm-c-api import func link issue in wasm_instance_new (#1787) 2022-12-20 14:37:07 +08:00
wasm.h Fix wasm-c-api import func link issue in wasm_instance_new (#1787) 2022-12-20 14:37:07 +08:00