[Pdbg] [PATCH 12/14] gdbserver: disable attn after breaking

Nicholas Piggin npiggin at gmail.com
Mon Mar 14 15:17:33 AEDT 2022


Rather than leave attn enabled, disable it when breaking to idle state
if it was enabled.

Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
 src/pdbgproxy.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/pdbgproxy.c b/src/pdbgproxy.c
index 75e14b7..a37e997 100644
--- a/src/pdbgproxy.c
+++ b/src/pdbgproxy.c
@@ -372,6 +372,8 @@ static void poll(void)
 		if (!(status.quiesced))
 			break;
 
+		set_attn(false);
+
 		state = IDLE;
 		poll_interval = VCONT_POLL_DELAY;
 		if (!(status.active)) {
-- 
2.23.0



More information about the Pdbg mailing list