diff options
author | Pedro Alves <pedro@codesourcery.com> | 2009-03-22 17:59:59 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2009-03-22 17:59:59 +0000 |
commit | 297cccbb83721274c4df1eec08dde9eb9f51a733 (patch) | |
tree | 3fd38ab340d0c9560a5364081b31b96913100cc4 /gdb/gdbthread.h | |
parent | 7f43a566f95a1cf96ed799471319b5c574ee575e (diff) | |
download | gdb-297cccbb83721274c4df1eec08dde9eb9f51a733.tar.gz |
* gdbthread.h (struct thread_info): Add in_infcall member.
* infcall.c (run_inferior_call): Save, set and restore in_infcall.
Remove reverences to suppress_resume_observer. Refresh
`call_thread' after returning from `proceed'.
* infcmd.c (suppress_resume_observer): Delete.
* inferior.h (suppress_resume_observer): Delete declaration.
* mi/mi-interp.c (mi_on_resume): Suppress output while calling an
inferior function.
* thread.c (set_running): Remove references to
suppress_resume_observer.
* infrun.c (struct inferior_status): Add in_infcall member.
(save_inferior_status): Save it.
(restore_inferior_status): Restore it.
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r-- | gdb/gdbthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index 3a405a86eeb..5b4bce57661 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -152,6 +152,10 @@ struct thread_info or a similar situation when stop_registers should be saved. */ int proceed_to_finish; + /* Nonzero if the thread is being proceeded for an inferior function + call. */ + int in_infcall; + enum step_over_calls_kind step_over_calls; /* Nonzero if stopped due to a step command. */ |