diff options
Diffstat (limited to 'gdb/thread.c')
-rw-r--r-- | gdb/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/thread.c b/gdb/thread.c index defd51a..d499400 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -1405,7 +1405,7 @@ scoped_restore_current_thread::restore () if (inferior_ptid != null_ptid && m_was_stopped && m_thread->state == THREAD_STOPPED - && target_has_registers + && target_has_registers () && target_has_stack () && target_has_memory ()) restore_selected_frame (m_selected_frame_id, m_selected_frame_level); @@ -1439,7 +1439,7 @@ scoped_restore_current_thread::scoped_restore_current_thread () m_was_stopped = m_thread->state == THREAD_STOPPED; if (m_was_stopped - && target_has_registers + && target_has_registers () && target_has_stack () && target_has_memory ()) { |