Merge remote-tracking branch 'origin/GP-0_d-millar_fix_for_5120' (#7176)

This commit is contained in:
Ryan Kurtz 2024-11-18 06:11:19 -05:00
commit 600c02703a

View File

@ -281,7 +281,7 @@ def on_register_changed(event):
@log_errors @log_errors
def on_cont(event): def on_cont(event):
if event.inferior_thread is None: if gdb.selected_thread() is None:
# thread-based state computed in record_continued will # thread-based state computed in record_continued will
# fail in some versions of gdb because the current_thread is None # fail in some versions of gdb because the current_thread is None
# and gdb fails to test for None before switching # and gdb fails to test for None before switching