eh_frame_parser.h 599 B

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