This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core
Callum Macmillan c3d66f916e
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-07 17:18:28 +08:00
..
app-framework esp-idf: Make esp-idf support Libc WASI (#1356) 2022-08-15 16:17:28 +08:00
app-mgr Add darwin support for app_framework (#1601) 2022-10-16 21:23:00 +08:00
deps Integrate WASI-NN into WAMR (#1521) 2022-10-12 12:09:29 +08:00
iwasm Add memory watchpoint support for source debugger (#1762) 2022-12-07 17:18:28 +08:00
shared Fix warnings in the posix socket implementation (#1768) 2022-11-29 20:04:07 +08:00
config.h Enable wasm cache loading in wasm-c-api (#1759) 2022-12-05 12:25:26 +08:00
version.h Maintain semantic version info in core/version.h (#1630) 2022-10-24 12:46:03 +08:00