Files
binutils-gdb/gdb/python
Tom Tromey c618a1c548 Fix bug in DAP handling of 'pause' requests
While working on cancellation, I noticed that a DAP 'pause' request
would set the "do not emit the continue" flag.  This meant that a
subsequent request that should provoke a 'continue' event would
instead suppress the event.

I then tried writing a more obvious test case for this, involving an
inferior call -- and discovered that gdb.events.cont does not fire for
an inferior call.

This patch installs a new event listener for gdb.events.inferior_call
and arranges for this to emit continue and stop events when
appropriate.  It also fixes the original bug, by adding a check to
exec_and_expect_stop.
2023-11-27 08:54:56 -07:00
..
2023-11-14 08:44:30 -07:00
2023-10-16 09:27:28 -06:00
2023-10-10 10:44:35 -04:00
2023-09-26 09:29:14 -06:00
2023-10-10 10:44:35 -04:00
2023-11-03 13:24:08 -06:00
2023-11-06 18:32:41 +01:00
2023-09-19 13:28:42 -06:00