|
PatchworkOS
a7b3d61
A non-POSIX operating system.
|
Debugging. More...
Debugging.
Macros | |
| #define | AML_DEBUG_ERROR(ctx, format, ...) aml_debug_error(ctx, __func__, format, ##__VA_ARGS__) |
Macro to simplify calling aml_debug_error() with the current function name. | |
Functions | |
| void | aml_debug_error (aml_term_list_ctx_t *ctx, const char *function, const char *format,...) |
| Log a debug error message with context information. | |
| #define AML_DEBUG_ERROR | ( | ctx, | |
| format, | |||
| ... | |||
| ) | aml_debug_error(ctx, __func__, format, ##__VA_ARGS__) |
Macro to simplify calling aml_debug_error() with the current function name.
| void aml_debug_error | ( | aml_term_list_ctx_t * | ctx, |
| const char * | function, | ||
| const char * | format, | ||
| ... | |||
| ) |
Log a debug error message with context information.
Errors should be used for unrecoverable faults such as invalid AML bytecode or runtime errors like runing out of memory.
| ctx | The AML term list context. |
| function | The function name where the error occurred. |
| format | The format string for the error message. |
| ... | Additional arguments for the format string. |
Definition at line 96 of file debug.c.