gdbstub.h 507 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2020 Intel Corporation
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #ifndef ZEPHYR_INCLUDE_DEBUG_GDBSTUB_H_
  7. #define ZEPHYR_INCLUDE_DEBUG_GDBSTUB_H_
  8. /* Map from CPU excpetions to GDB */
  9. #define GDB_EXCEPTION_INVALID_INSTRUCTION 4UL
  10. #define GDB_EXCEPTION_BREAKPOINT 5UL
  11. #define GDB_EXCEPTION_MEMORY_FAULT 7UL
  12. #define GDB_EXCEPTION_DIVIDE_ERROR 8UL
  13. #define GDB_EXCEPTION_INVALID_MEMORY 11UL
  14. #define GDB_EXCEPTION_OVERFLOW 16UL
  15. #endif