mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
eeaa40f71d
Closes https://github.com/espressif/esp-idf/issues/7866 A minimal x86 implementation has also been added, it is used to perform a host test.
29 lines
621 B
C
29 lines
621 B
C
/*
|
|
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef EH_FRAME_PARSER_H
|
|
#define EH_FRAME_PARSER_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief Print backtrace for the given execution frame.
|
|
*
|
|
* @param frame_or Snapshot of the CPU registers when the program stopped its
|
|
* normal execution. This frame is usually generated on the
|
|
* stack when an exception or an interrupt occurs.
|
|
*/
|
|
void esp_eh_frame_print_backtrace(const void *frame_or);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif // EH_FRAME_PARSER_H
|