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

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

Comments

Philippe Waroquiers - July 5, 2018, 9:37 p.m.
Announce changes in NEWS to info [args|functions|locals|variables]

gdb/ChangeLog
2018-07-05  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

        * NEWS: Mention changes to 'info [args|functions|locals|variables]'
---
 gdb/NEWS | 11 +++++++++++
 1 file changed, 11 insertions(+)
Eli Zaretskii - July 6, 2018, 5:36 a.m.
> From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Cc: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Date: Thu,  5 Jul 2018 23:37:16 +0200
> 
> Announce changes in NEWS to info [args|functions|locals|variables]
> 
> gdb/ChangeLog
> 2018-07-05  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
> 
>         * NEWS: Mention changes to 'info [args|functions|locals|variables]'

OK, thanks.

Patch

diff --git a/gdb/NEWS b/gdb/NEWS
index 2d1d161233..1f94110ff0 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,17 @@ 
 
 *** Changes since GDB 8.2
 
+* 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.
+
 *** Changes in GDB 8.2
 
 * The 'set disassembler-options' command now supports specifying options