[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 44/44] Hexagon (linux-user/hexagon): handle breakpoints
|
From: |
Taylor Simpson |
|
Subject: |
[PULL 44/44] Hexagon (linux-user/hexagon): handle breakpoints |
|
Date: |
Fri, 12 May 2023 14:47:06 -0700 |
From: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
This enables LLDB to work with hexagon linux-user mode through the GDB
remote protocol.
Helped-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id:
<c287a129dcbe7d974d8b7608e8672d34a3c91c04.1683214375.git.quic_mathbern@quicinc.com>
---
linux-user/hexagon/cpu_loop.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user/hexagon/cpu_loop.c b/linux-user/hexagon/cpu_loop.c
index b84e25bf71..7f1499ed28 100644
--- a/linux-user/hexagon/cpu_loop.c
+++ b/linux-user/hexagon/cpu_loop.c
@@ -63,6 +63,9 @@ void cpu_loop(CPUHexagonState *env)
case EXCP_ATOMIC:
cpu_exec_step_atomic(cs);
break;
+ case EXCP_DEBUG:
+ force_sig_fault(TARGET_SIGTRAP, TARGET_TRAP_BRKPT, 0);
+ break;
default:
EXCP_DUMP(env, "\nqemu: unhandled CPU exception %#x - aborting\n",
trapnr);
--
2.25.1
- [PULL 27/44] Hexagon (target/hexagon) Move new_pred_value to DisasContext, (continued)
- [PULL 27/44] Hexagon (target/hexagon) Move new_pred_value to DisasContext, Taylor Simpson, 2023/05/12
- [PULL 34/44] Hexagon: list available CPUs with `-cpu help`, Taylor Simpson, 2023/05/12
- [PULL 15/44] Hexagon (target/hexagon) Remove log_reg_write from op_helper.[ch], Taylor Simpson, 2023/05/12
- [PULL 25/44] Hexagon (target/hexagon) Make special new_value for USR, Taylor Simpson, 2023/05/12
- [PULL 18/44] Hexagon (target/hexagon) Don't overlap dest writes with source reads, Taylor Simpson, 2023/05/12
- [PULL 26/44] Hexagon (target/hexagon) Move new_value to DisasContext, Taylor Simpson, 2023/05/12
- [PULL 10/44] meson.build Add CONFIG_HEXAGON_IDEF_PARSER, Taylor Simpson, 2023/05/12
- [PULL 19/44] Hexagon (target/hexagon) Mark registers as read during packet analysis, Taylor Simpson, 2023/05/12
- [PULL 20/44] Hexagon (target/hexagon) Short-circuit packet register writes, Taylor Simpson, 2023/05/12
- [PULL 29/44] Hexagon (target/hexagon) Move pkt_has_store_s1 to DisasContext, Taylor Simpson, 2023/05/12
- [PULL 44/44] Hexagon (linux-user/hexagon): handle breakpoints,
Taylor Simpson <=
- [PULL 40/44] gdbstub: add test for untimely stop-reply packets, Taylor Simpson, 2023/05/12
- [PULL 42/44] Hexagon (gdbstub): fix p3:0 read and write via stub, Taylor Simpson, 2023/05/12
- [PULL 41/44] Hexagon: add core gdbstub xml data for LLDB, Taylor Simpson, 2023/05/12
- [PULL 43/44] Hexagon (gdbstub): add HVX support, Taylor Simpson, 2023/05/12
- Re: [PULL 00/44] Hexagon update, Richard Henderson, 2023/05/13