aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-04-20 16:07:12 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-05-30 15:07:26 -0400
commit77cd03e27c547a5b5b7f086a0b537084eb399258 (patch)
treef38ecc8550cbfd0c4fd13d14de985daf83b764a0 /gdb/thread.c
parent2736b77153629619fe75071356e16d9db51606ff (diff)
downloadgdb-77cd03e27c547a5b5b7f086a0b537084eb399258.zip
gdb-77cd03e27c547a5b5b7f086a0b537084eb399258.tar.gz
gdb-77cd03e27c547a5b5b7f086a0b537084eb399258.tar.bz2
gdb: add interp::on_user_selected_context_changed method
Same as previous patches, but for user_selected_context_changed. Change-Id: I40de15be897671227d4bcf3e747f0fd595f0d5be
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index e9432f9..13db9f8 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -1846,10 +1846,8 @@ thread_command (const char *tidstr, int from_tty)
| USER_SELECTED_FRAME);
}
else
- {
- gdb::observers::user_selected_context_changed.notify
- (USER_SELECTED_THREAD | USER_SELECTED_FRAME);
- }
+ notify_user_selected_context_changed
+ (USER_SELECTED_THREAD | USER_SELECTED_FRAME);
}
}