From: Alan Hayward Date: Thu, 21 Feb 2019 18:20:21 +0000 (+0000) Subject: Document style behavior in batch mode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7557a51431744346c5d281e1b3a55b1fb985cbad;p=binutils-gdb.git 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 --git a/gdb/ChangeLog b/gdb/ChangeLog index fd704daf7b9..b57cc87ed99 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-02-21 Alan Hayward + + * NEWS: Update style defaults. + 2019-02-21 Alan Hayward * main.c (captured_main_1): Disable styling in batch mode. diff --git a/gdb/NEWS b/gdb/NEWS index eaef6aa3849..8fe961b3f37 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 6f22af5f3e5..e396bd75034 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2019-02-21 Alan Hayward + + * gdb.texinfo: Update style defaults. + 2019-02-21 Tom Tromey * gdb.texinfo (Remote Configuration): Remove trailing "." from diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 6b47026aa01..977cc7bbdb9 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}