summaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2008-07-09 22:27:13 +0000
committerPedro Alves <pedro@codesourcery.com>2008-07-09 22:27:13 +0000
commit630d21a6ea3b02f5af279bee5345acd93a17513c (patch)
treefb17904b633ebf2348fbb638de2413f8757abcda /gdb/inferior.h
parentf3e2a00b870a77535da1873d3fc1ba2d73b350d0 (diff)
downloadgdb-630d21a6ea3b02f5af279bee5345acd93a17513c.tar.gz
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.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 3c69d4ed71f..9cbf4b4f188 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -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);