This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Document style behavior in batch mode.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7557a51431744346c5d281e1b3a55b1fb985cbad

commit 7557a51431744346c5d281e1b3a55b1fb985cbad
Author: Alan Hayward <alan.hayward@arm.com>
Date:   Thu Feb 21 18:20:21 2019 +0000

    Document style behavior in batch mode.
    
    Style is disabled when running in batch mode.
    
    gdb/ChangeLog:
    
    	* NEWS: Update style defaults.
    
    gdb/doc/ChangeLog:
    
    	* gdb.texinfo: Update style defaults.

Diff:
---
 gdb/ChangeLog       | 4 ++++
 gdb/NEWS            | 2 +-
 gdb/doc/ChangeLog   | 4 ++++
 gdb/doc/gdb.texinfo | 5 +++--
 4 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fd704da..b57cc87 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2019-02-21  Alan Hayward  <alan.hayward@arm.com>
 
+	* NEWS: Update style defaults.
+
+2019-02-21  Alan Hayward  <alan.hayward@arm.com>
+
 	* main.c (captured_main_1): Disable styling in batch mode.
 
 2019-02-20  Tom Tromey  <tom@tromey.com>
diff --git a/gdb/NEWS b/gdb/NEWS
index eaef6aa..8fe961b 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -141,7 +141,7 @@ show tui tab-width NCHARS
 set style enabled [on|off]
 show style enabled
   Enable or disable terminal styling.  Styling is enabled by default
-  on most hosts.
+  on most hosts, but disabled by default when in batch mode.
 
 set style filename foreground COLOR
 set style filename background COLOR
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 6f22af5..e396bd7 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2019-02-21  Alan Hayward  <alan.hayward@arm.com>
+
+	* gdb.texinfo: Update style defaults.
+
 2019-02-21  Tom Tromey  <tromey@adacore.com>
 
 	* gdb.texinfo (Remote Configuration): Remove trailing "." from
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 6b47026..977cc7b 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -24514,8 +24514,9 @@ Show the current pagination mode.
 @kindex set style
 @kindex show style
 @value{GDBN} can style its output on a capable terminal.  This is
-enabled by default on most systems.  Various style settings are
-available; and styles can also be disabled entirely.
+enabled by default on most systems, but disabled by default when in
+batch mode (@pxref{Mode Options}).  Various style settings are available;
+and styles can also be disabled entirely.
 
 @table @code
 @item set style enabled @samp{on|off}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]