forked from Imagelibrary/binutils-gdb
gdb: add interp::on_user_selected_context_changed method
Same as previous patches, but for user_selected_context_changed. Change-Id: I40de15be897671227d4bcf3e747f0fd595f0d5be
This commit is contained in:
@@ -745,7 +745,7 @@ inferior_command (const char *args, int from_tty)
|
||||
switch_to_thread (tp);
|
||||
}
|
||||
|
||||
gdb::observers::user_selected_context_changed.notify
|
||||
notify_user_selected_context_changed
|
||||
(USER_SELECTED_INFERIOR
|
||||
| USER_SELECTED_THREAD
|
||||
| USER_SELECTED_FRAME);
|
||||
@@ -754,7 +754,7 @@ inferior_command (const char *args, int from_tty)
|
||||
{
|
||||
switch_to_inferior_no_thread (inf);
|
||||
|
||||
gdb::observers::user_selected_context_changed.notify
|
||||
notify_user_selected_context_changed
|
||||
(USER_SELECTED_INFERIOR);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user