summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/arm64
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/arch/arm64')
-rw-r--r--payloads/libpayload/arch/arm64/gdb.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/payloads/libpayload/arch/arm64/gdb.c b/payloads/libpayload/arch/arm64/gdb.c
index 166c9ffb13..29a037095f 100644
--- a/payloads/libpayload/arch/arm64/gdb.c
+++ b/payloads/libpayload/arch/arm64/gdb.c
@@ -28,25 +28,6 @@ struct gdb_regs
u32 spsr;
} __packed;
-static const u8 type_to_signal[] = {
- [EXC_SYNC_SP0] = GDB_SIGTRAP,
- [EXC_IRQ_SP0] = GDB_SIGSEGV,
- [EXC_FIQ_SP0] = GDB_SIGSEGV,
- [EXC_SERROR_SP0] = GDB_SIGSEGV,
- [EXC_SYNC_SPX] = GDB_SIGTRAP,
- [EXC_IRQ_SPX] = GDB_SIGSEGV,
- [EXC_FIQ_SPX] = GDB_SIGSEGV,
- [EXC_SERROR_SPX] = GDB_SIGSEGV,
- [EXC_SYNC_ELX_64] = GDB_SIGTRAP,
- [EXC_IRQ_ELX_64] = GDB_SIGSEGV,
- [EXC_FIQ_ELX_64] = GDB_SIGSEGV,
- [EXC_SERROR_ELX_64] = GDB_SIGSEGV,
- [EXC_SYNC_ELX_32] = GDB_SIGTRAP,
- [EXC_IRQ_ELX_32] = GDB_SIGSEGV,
- [EXC_FIQ_ELX_32] = GDB_SIGSEGV,
- [EXC_SERROR_ELX_32] = GDB_SIGSEGV
-};
-
static int gdb_exception_hook(u32 type)
{
return -1;