diff options
author | Pedro Alves <palves@redhat.com> | 2009-06-11 11:57:46 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-06-11 11:57:46 +0000 |
commit | d4db2f362ffff0e4a55e2e0c5382204e3e59a476 (patch) | |
tree | 41c61357364ccf94ecaa804d446328c8de2c6fef /gdb/inferior.h | |
parent | 865662004136ecc8f9f45c41fcd20bd9a3573bbf (diff) | |
download | gdb-d4db2f362ffff0e4a55e2e0c5382204e3e59a476.zip gdb-d4db2f362ffff0e4a55e2e0c5382204e3e59a476.tar.gz gdb-d4db2f362ffff0e4a55e2e0c5382204e3e59a476.tar.bz2 |
gdb/
* infrun.c (sched_multi): New global.
(resume): If sched_multi is set, resume only threads of the
current inferior.
(prepare_to_proceed): Don't switch over to wait_ptid if we're
resuming a different inferior, and sched_multi is off.
(show_schedule_multiple): New.
(_initialize_infrun): Register new "set schedule-multiple" command.
* inferior.h (sched_multi): Declare.
* NEWS: Mention new "schedule-multiple" setting.
gdb/doc/
* gdb.texinfo (All-Stop): Document new 'set schedule-multiple'
command.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 60d5913..31764d2 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -135,6 +135,8 @@ extern void clear_proceed_status (void); extern void proceed (CORE_ADDR, enum target_signal, int); +extern int sched_multi; + /* When set, stop the 'step' command if we enter a function which has no line number information. The normal behavior is that we step over such function. */ |