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