Patchwork [RFC,5/5] Announce changes in NEWS to info [args|functions|locals|variables]

login
register
mail settings
Submitter Philippe Waroquiers
Date July 1, 2018, 9:07 p.m.
Message ID <20180701210734.3793-6-philippe.waroquiers@skynet.be>
Download mbox | patch
Permalink /patch/28180/
State New
Headers show

Comments

Philippe Waroquiers - July 1, 2018, 9:07 p.m.
Announce changes in NEWS to info [args|functions|locals|variables]
---
 gdb/NEWS | 11 +++++++++++
 1 file changed, 11 insertions(+)
Eli Zaretskii - July 2, 2018, 2:51 p.m.
> From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Cc: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Date: Sun,  1 Jul 2018 23:07:34 +0200
> 
> Announce changes in NEWS to info [args|functions|locals|variables]
> ---
>  gdb/NEWS | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/gdb/NEWS b/gdb/NEWS
> index 839466e7e0..74471b6a02 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -56,6 +56,17 @@ maint show check-libthread-db
>    debugging libraries as they are loaded.  The default is not to
>    perform such checks.
>  
> +* Changed commands
> +
> +info args [-q] [-t TYPEREGEXP] [NAMEREGEXP]
> +info functions [-q] [-t TYPEREGEXP] [NAMEREGEXP]
> +info locals [-q] [-t TYPEREGEXP] [NAMEREGEXP]
> +info variables [-q] [-t TYPEREGEXP] [NAMEREGEXP]
> +  These commands can now print only the searched entities
> +  matching the provided regexp(s), giving a condition
> +  on the entity names or entity types.  The flag -q
> +  disables printing headers or informations messages.
> +
>  * Python API
>  
>    ** Type alignment is now exposed via the "align" attribute of a gdb.Type.

Thanks, this is OK.

Patch

diff --git a/gdb/NEWS b/gdb/NEWS
index 839466e7e0..74471b6a02 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -56,6 +56,17 @@  maint show check-libthread-db
   debugging libraries as they are loaded.  The default is not to
   perform such checks.
 
+* Changed commands
+
+info args [-q] [-t TYPEREGEXP] [NAMEREGEXP]
+info functions [-q] [-t TYPEREGEXP] [NAMEREGEXP]
+info locals [-q] [-t TYPEREGEXP] [NAMEREGEXP]
+info variables [-q] [-t TYPEREGEXP] [NAMEREGEXP]
+  These commands can now print only the searched entities
+  matching the provided regexp(s), giving a condition
+  on the entity names or entity types.  The flag -q
+  disables printing headers or informations messages.
+
 * Python API
 
   ** Type alignment is now exposed via the "align" attribute of a gdb.Type.