aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-03-08 19:20:38 +0000
committerTom Tromey <tromey@redhat.com>2010-03-08 19:20:38 +0000
commit7c953934352840c28dcda0c8a6a18660aa1e3ab9 (patch)
treeaad0480e2191952a96d4464e37055ff6bc82b7a9 /gdb/main.h
parent9c8ee2ab75111236586c439951528d90e2242568 (diff)
downloadbinutils-7c953934352840c28dcda0c8a6a18660aa1e3ab9.zip
binutils-7c953934352840c28dcda0c8a6a18660aa1e3ab9.tar.gz
binutils-7c953934352840c28dcda0c8a6a18660aa1e3ab9.tar.bz2
gdb
PR cli/9591: * NEWS: Update. * utils.c: Include main.h. (fputs_maybe_filtered): Don't paginate if `batch_flag'. (defaulted_query): Use default answer if `batch_flag'. * main.h (batch_flag): Declare. * main.c (batch_flag): New global. (captured_main): Remove 'batch'. Update. gdb/doc PR cli/9591: * gdb.texinfo (Mode Options): Mention lack of pagination and confirmation with --batch. (Screen Size): Mention --batch. (Messages/Warnings): Likewise.
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 5e45724..4b27c1a 100644
--- a/gdb/main.h
+++ b/gdb/main.h
@@ -34,5 +34,6 @@ extern int gdb_main (struct captured_main_args *);
extern int return_child_result;
extern int return_child_result_value;
extern int batch_silent;
+extern int batch_flag;
#endif