summaryrefslogtreecommitdiff
path: root/gdb/main.h
diff options
context:
space:
mode:
authorAndrew Stubbs <andrew.stubbs@st.com>2008-05-02 13:58:38 +0000
committerAndrew Stubbs <andrew.stubbs@st.com>2008-05-02 13:58:38 +0000
commit1325d73b8489e4b61c56ef531f1c19c14dd6d65a (patch)
tree90895cf3f205a685f5e0b015cbc493bf7c9963c2 /gdb/main.h
parent56c24f0b5371f39f418ab482c8a81e2e029fcde0 (diff)
downloadgdb-1325d73b8489e4b61c56ef531f1c19c14dd6d65a.tar.gz
2008-05-02 Andrew Stubbs <andrew.stubbs@st.com>
* main.h (batch_silent): Declare. * event-top.c: Include main.h. (gdb_setup_readline): Remove extern batch_silent declaration. * infrun.c (normal_stop): Don't print source location when running in --batch-silent mode. * Makefile.in (event-top.o): Add main.h dependency.
Diffstat (limited to 'gdb/main.h')
-rw-r--r--gdb/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/main.h b/gdb/main.h
index d5135753027..0c97837024c 100644
--- a/gdb/main.h
+++ b/gdb/main.h
@@ -33,5 +33,6 @@ extern int gdb_main (struct captured_main_args *);
/* From main.c. */
extern int return_child_result;
extern int return_child_result_value;
+extern int batch_silent;
#endif