diff options
author | Tom Tromey <tromey@redhat.com> | 2010-03-08 19:20:38 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-03-08 19:20:38 +0000 |
commit | 7c953934352840c28dcda0c8a6a18660aa1e3ab9 (patch) | |
tree | aad0480e2191952a96d4464e37055ff6bc82b7a9 /gdb/main.h | |
parent | 9c8ee2ab75111236586c439951528d90e2242568 (diff) | |
download | gdb-7c953934352840c28dcda0c8a6a18660aa1e3ab9.zip gdb-7c953934352840c28dcda0c8a6a18660aa1e3ab9.tar.gz gdb-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |