diff options
Diffstat (limited to 'gdb/thread.c')
-rw-r--r-- | gdb/thread.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/thread.c b/gdb/thread.c index e4113c2..7ce65ff 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -1308,15 +1308,7 @@ print_thread_info_1 (struct ui_out *uiout, char *requested_threads, chain2 = make_cleanup_ui_out_tuple_begin_end (uiout, NULL); - if (uiout->is_mi_like_p ()) - { - /* Compatibility. */ - if (tp->ptid == current_ptid) - uiout->text ("* "); - else - uiout->text (" "); - } - else + if (!uiout->is_mi_like_p ()) { if (tp->ptid == current_ptid) uiout->field_string ("current", "*"); |