You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,7 +138,7 @@ path = "device.svd"
138
138
139
139
### SVD labels (read-only)
140
140
141
-
If `[svd] path` points to a valid CMSIS-SVD file (or use `--svd FILE` / env `RSGDB_SVD`), rsgdb builds a register map and emits **debug** logs for **client** memory packets (`m` read, `M` write) with a human-readable range when the access overlaps known registers — for example `GPIOA.MODER (4 bytes)`. This is **display only**; RSP bytes are unchanged.
141
+
If `[svd] path` points to a valid CMSIS-SVD file (or use `--svd FILE` / env `RSGDB_SVD`), rsgdb builds a register map and emits **debug** logs for **client** memory packets (`m` read, `M` write) with a human-readable range when the access overlaps known registers — for example `GPIOA.MODER (4 bytes)` or, when the SVD lists fields, `GPIOA.MODER (4 bytes); fields: GPIOA.MODER.MODE0 [Input, Output], …`. Enumerated value **names** from the SVD are shown alongside fields; decoding actual register **values** against those enums is not implemented yet. This is **display only**; RSP bytes are unchanged.
142
142
143
143
Enable the log target with e.g. `RUST_LOG=rsgdb::svd=debug,rsgdb=info` (or `-d` / verbose per your logging setup).
144
144
@@ -148,7 +148,7 @@ When enabled, each GDB↔backend connection writes one **JSON Lines** file under
148
148
149
149
**Enable:**`rsgdb --record`, or set `[recording] enabled = true` in config, or `RSGDB_RECORD=1`. Optional directory override: `--record-dir DIR` or `RSGDB_RECORD_DIR`.
150
150
151
-
**Replay:**There is no built-in replayer yet. Inspect `.jsonl` with your usual tools or `jq`. Work is tracked as [#10](https://github.com/DynamicDevices/rsgdb/issues/10) (mock / automated playback for regression tests).
151
+
**Replay:**`rsgdb replay <FILE.jsonl> [--listen ADDR]` (default `127.0.0.1:3334`) loads an `rsgdb-record` v1 session and listens for TCP; the **first** GDB client connection is served by a mock backend that replays `backend_to_client` / expects `client_to_backend` events in order (for regression tests and inspection). You can still inspect raw `.jsonl` with `jq` or other tools. Tracked as [#10](https://github.com/DynamicDevices/rsgdb/issues/10).
152
152
153
153
### Flash orchestration (`rsgdb flash`)
154
154
@@ -290,9 +290,9 @@ Source of truth for ordering and scope: **[GitHub Issues](https://github.com/Dyn
|**Next: replay**|Playback / mock backend from `.jsonl`recordings |[#10](https://github.com/DynamicDevices/rsgdb/issues/10) (open) |
295
-
|**Next: richer SVD**|Fields, enums, correlation with recordings |[#11](https://github.com/DynamicDevices/rsgdb/issues/11) (open) |
293
+
|**Next: native backend**| Probe-facing backend beyond TCP to a stub (see `backends::connect_tcp_backend`) |[#9](https://github.com/DynamicDevices/rsgdb/issues/9) (open) |
294
+
|**Replay**|`rsgdb replay` + mock TCP backend from `.jsonl`|[#10](https://github.com/DynamicDevices/rsgdb/issues/10) (implemented; close when shipped) |
295
+
|**Richer SVD**|Overlapping fields + enum variant names in annotations; value decode / recording correlation follow-ups |[#11](https://github.com/DynamicDevices/rsgdb/issues/11) (baseline in-tree) |
0 commit comments