aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-file.c
diff options
context:
space:
mode:
authorJohan Sternerup <johan.sternerup@gmail.com>2024-06-01 18:16:30 +0200
committerTom Tromey <tromey@adacore.com>2024-06-06 10:25:19 -0600
commit584dc32c594fa60eba0a3149001e8a844b09f5b9 (patch)
tree54496f1ae6e2fc2de6a5c5bccdcfb98463741837 /gdb/ui-file.c
parent01469ac03e0673d40f8372d5e89139f86327e658 (diff)
downloadgdb-584dc32c594fa60eba0a3149001e8a844b09f5b9.zip
gdb-584dc32c594fa60eba0a3149001e8a844b09f5b9.tar.gz
gdb-584dc32c594fa60eba0a3149001e8a844b09f5b9.tar.bz2
DAP: Allow for deferring stop events from gdb thread
The existing `send_event_later()` method allows commands processed on the DAP thread to queue an event for execution until after the response has been sent to the client. We now introduce a corresponding method for use by the gdb thread. This method `send_event_maybe_later()` will queue the event just like `send_event_later()`, but only if it has been configured to do so by a new @request option `defer_stop_events`. As the name implies the functionality is currently only used for handling stop events. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/ui-file.c')
0 files changed, 0 insertions, 0 deletions