Structured debug stream records, Memory Window 2 debug slots, mailbox debug dumps, and GDB target stub.
More...
|
| file | debug_stream.h |
| | User-space ABI stream protocol for passing abstract debug data objects to host.
|
| |
| file | debug_stream_slot.h |
| | SRAM Memory Window 2 Debug Slot mapping and per-core circular buffers.
|
| |
| file | debug_stream_text_msg.h |
| | Text message records transmitted over the debug stream.
|
| |
| file | debug.h |
| | Early firmware bootstrap debug dumps, mailbox peek/poke, and diagnostic helpers.
|
| |
| file | gdb.h |
| | Entry point of the Zephyr GDB stub (CONFIG_GDBSTUB).
|
| |
|
| int | debug_stream_slot_send_record (struct debug_stream_record *rec) |
| | Send a debug stream record over the memory window debug slot.
|
| |
| void | ds_msg (const char *format,...) |
| | Format and transmit a text message record over the active debug stream slot.
|
| |
| void | ds_vamsg (const char *format, va_list ap) |
| | Transmit a text message record over debug stream using va_list arguments.
|
| |
| void | gdb_init (void) |
| | Initialize the GDB target debugging stub, see ipc_enter_gdb.
|
| |
Structured debug stream records, Memory Window 2 debug slots, mailbox debug dumps, and GDB target stub.
◆ debug_stream_slot_send_record()
Send a debug stream record over the memory window debug slot.
- Parameters
-
| [in] | rec | Pointer to abstract debug stream record to transmit. |
- Returns
- 0 on success, -ENODEV if debug slot is unconfigured, or -ENOMEM if record exceeds capacity.
◆ ds_msg()
| void ds_msg |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
Format and transmit a text message record over the active debug stream slot.
- Parameters
-
| [in] | format | Printf-style format string. |
| [in] | ... | Variable arguments matching format. |
◆ ds_vamsg()
| void ds_vamsg |
( |
const char * |
format, |
|
|
va_list |
ap |
|
) |
| |
Transmit a text message record over debug stream using va_list arguments.
- Parameters
-
| [in] | format | Printf-style format string. |
| [in] | ap | Variable arguments list. |
◆ gdb_init()
Initialize the GDB target debugging stub, see ipc_enter_gdb.