aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-04-20 15:47:59 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-05-30 15:07:26 -0400
commitc3d321de3f35dc67d7eb0826e6cc8bc1f22a91e6 (patch)
tree0022bf493c246e39ead67332820e9f609b39bcdd /gdb/infrun.c
parent2e5dbfab563c58b9be34d168e8aaa24878aab38c (diff)
downloadgdb-c3d321de3f35dc67d7eb0826e6cc8bc1f22a91e6.zip
gdb-c3d321de3f35dc67d7eb0826e6cc8bc1f22a91e6.tar.gz
gdb-c3d321de3f35dc67d7eb0826e6cc8bc1f22a91e6.tar.bz2
gdb: add interp::on_sync_execution_done method
Same as previous patches, but for sync_execution_done. Except that here, we only want to notify the interpreter that is executing the command, not all interpreters. Change-Id: I729c719447b5c5f29af65dbf6fed9132e2cd308b
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 3328631..2d234ed 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -4207,7 +4207,7 @@ check_curr_ui_sync_execution_done (void)
&& !gdb_in_secondary_prompt_p (ui))
{
target_terminal::ours ();
- gdb::observers::sync_execution_done.notify ();
+ top_level_interpreter ()->on_sync_execution_done ();
ui->register_file_handler ();
}
}