Add non_stop global.

* inferior.h (non_stop): Declare.
	* infrun.c (non_stop, non_stop_1): New.
	(set_non_stop, show_non_stop): New.
	(_initialize_infrun): Add "set/show non-stop" command.
This commit is contained in:
Pedro Alves
2008-07-09 22:27:13 +00:00
parent 3a3e9ee36f
commit ad52ddc6a4
3 changed files with 62 additions and 0 deletions

View File

@ -137,6 +137,13 @@ extern void proceed (CORE_ADDR, enum target_signal, int);
over such function. */
extern int step_stop_if_no_debug;
/* If set, the inferior should be controlled in non-stop mode. In
this mode, each thread is controlled independently. Execution
commands apply only to the the selected thread by default, and stop
events stop only the thread that had the event -- the other threads
are kept running freely. */
extern int non_stop;
extern void generic_mourn_inferior (void);
extern void terminal_save_ours (void);