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
- scripts/zephyr_multi_printf_app: three RSGDB_E2E printf lines
- e2e: west -s in-repo app, break line 9, next x2, grep log for line 1/2
- set debuginfod off in gdb batch; capture gdbserver stdout to file
Made-with: Cursor
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,8 @@ To debug a **real Zephyr app** (still RSP/gdbserver) without QEMU or hardware, b
69
69
70
70
Requires a full [Zephyr west workspace](https://docs.zephyrproject.org/latest/develop/getting_started/index.html) (`ZEPHYR_WORKSPACE` with `.west/` and `zephyr/`). See [native_sim](https://docs.zephyrproject.org/latest/boards/native/native_sim/doc/index.html). The script builds **`native_sim/native/64`** by default (LP64 host binary); the plain `native_sim` target is 32-bit and needs multilib on x86_64.
71
71
72
+
The app under **`scripts/zephyr_multi_printf_app/`** (in this repo) has three `printf` lines with markers `RSGDB_E2E line 1` … `3`. The E2E script sets a breakpoint on the **first**`printf`, runs **`next`** twice, and asserts **`RSGDB_E2E line 1`** and **`line 2`** appear in the **gdbserver** log (inferior stdout). Override the app path with **`ZEPHYR_APP_SOURCE_DIR`** if needed.
0 commit comments