1 /* 2 * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef EH_FRAME_PARSER_H 8 #define EH_FRAME_PARSER_H 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 /** 15 * @brief Print backtrace for the given execution frame. 16 * 17 * @param frame_or Snapshot of the CPU registers when the program stopped its 18 * normal execution. This frame is usually generated on the 19 * stack when an exception or an interrupt occurs. 20 */ 21 void esp_eh_frame_print_backtrace(const void *frame_or); 22 23 #ifdef __cplusplus 24 } 25 #endif 26 27 #endif 28