ext: Specialize GDBSignal MACRO to gem5 (#209)

The goal is to fix this issue which appears to be affects some Apple
users: https://github.com/gem5/gem5/issues/94.

By specializing the `EXC_*` to gem5 we avoid the name conflicts plagiing
some users.
This commit is contained in:
Bobby R. Bruce
2023-08-24 02:44:56 -07:00
committed by GitHub

View File

@@ -168,12 +168,12 @@ namespace gem5{
INFO = 142, //information request
unknown = 143, //unknown signal
EXC_BAD_ACCESS = 145, //could not access memory
EXC_BAD_INSTRUCTION = 146, //illegal instruction/operand
EXC_ARITHMETIC = 147, //arithmetic exception
EXC_EMULATION = 148, //emulation instruction
EXC_SOFTWARE = 149, //software generated exception
EXC_BREAKPOINT = 150, //breakpoint
GEM5_EXC_BAD_ACCESS = 145, //could not access memory
GEM5_EXC_BAD_INSTRUCTION = 146, //illegal instruction/operand
GEM5_EXC_ARITHMETIC = 147, //arithmetic exception
GEM5_EXC_EMULATION = 148, //emulation instruction
GEM5_EXC_SOFTWARE = 149, //software generated exception
GEM5_EXC_BREAKPOINT = 150, //breakpoint
LIBRT = 151, //librt internal signal
};