[RFA,5/5] NEWS: Document the language choice by 'info [types|functions|variables]|rbreak'.

Message ID 20181028144614.14149-6-philippe.waroquiers@skynet.be
State New, archived
Headers

Commit Message

Philippe Waroquiers Oct. 28, 2018, 2:46 p.m. UTC
  gdb/ChangeLog
2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

	* NEWS: Document the language choice done by
	'info [types|functions|variables]|rbreak'.
---
 gdb/NEWS | 9 +++++++++
 1 file changed, 9 insertions(+)
  

Comments

Eli Zaretskii Oct. 28, 2018, 3:31 p.m. UTC | #1
> From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Cc: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Date: Sun, 28 Oct 2018 15:46:14 +0100
> 
> diff --git a/gdb/NEWS b/gdb/NEWS
> index 7fe588dabb..5bc9749369 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -95,6 +95,15 @@ info variables [-q] [-t TYPEREGEXP] [NAMEREGEXP]
>    on the entity names or entity types.  The flag -q disables
>    printing headers or informations messages.
>  
> +info functions
> +info types
> +info variables
> +rbreak
> +  These commands now uses the language choice specified using `set language'
> +  to choose the syntax to print the results.  In particular,

I'd suggest a slight rewording of the first sentence:

  These commands now determine the syntax for the shown entities
  according to the language chosen by `set language'.

Thanks.
  

Patch

diff --git a/gdb/NEWS b/gdb/NEWS
index 7fe588dabb..5bc9749369 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -95,6 +95,15 @@  info variables [-q] [-t TYPEREGEXP] [NAMEREGEXP]
   on the entity names or entity types.  The flag -q disables
   printing headers or informations messages.
 
+info functions
+info types
+info variables
+rbreak
+  These commands now uses the language choice specified using `set language'
+  to choose the syntax to print the results.  In particular,
+  `set language auto' means to automatically choose the language of
+  the shown entities.
+
 thread apply [all | COUNT | -COUNT] [FLAG]... COMMAND
   The 'thread apply' command accepts new FLAG arguments.
   FLAG arguments allow to control what output to produce and how to handle