From patchwork Sat Oct 27 12:44:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Waroquiers X-Patchwork-Id: 29917 Received: (qmail 64062 invoked by alias); 27 Oct 2018 12:44:40 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 63924 invoked by uid 89); 27 Oct 2018 12:44:39 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1666 X-HELO: mailsec112.isp.belgacom.be Received: from mailsec112.isp.belgacom.be (HELO mailsec112.isp.belgacom.be) (195.238.20.108) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 27 Oct 2018 12:44:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1540644278; x=1572180278; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dn8z5WcLsVH5RX1Vnbey513MXDO15ud3/zLwsuML+2I=; b=XoINjN0TxbkWR3kB8V2vRnZkq4VDyPI59bVchHEOMlRaSiZWvc9g5r17 0m1/XVA9FM+vOu56jLNc15URtnfvwA==; Received: from 110.212-243-81.adsl-dyn.isp.belgacom.be (HELO md.home) ([81.243.212.110]) by relay.skynet.be with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 27 Oct 2018 14:44:23 +0200 From: Philippe Waroquiers To: gdb-patches@sourceware.org Cc: Philippe Waroquiers Subject: [PUSHED 4/5] Announce changes in NEWS to info [args|functions|locals|variables] Date: Sat, 27 Oct 2018 14:44:17 +0200 Message-Id: <20181027124418.20394-5-philippe.waroquiers@skynet.be> In-Reply-To: <20181027124418.20394-1-philippe.waroquiers@skynet.be> References: <20181027124418.20394-1-philippe.waroquiers@skynet.be> MIME-Version: 1.0 X-IsSubscribed: yes Announce changes in NEWS to info [args|functions|locals|variables] gdb/ChangeLog 2018-10-27 Philippe Waroquiers * NEWS: Mention changes to 'info [args|functions|locals|variables]' --- gdb/ChangeLog | 4 ++++ gdb/NEWS | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d105e74dc5..e9491358fa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-10-27 Philippe Waroquiers + + * NEWS: Mention changes to 'info [args|functions|locals|variables]' + 2018-10-27 Philippe Waroquiers * stack.c (print_variable_and_value_data): Add preg and treg. diff --git a/gdb/NEWS b/gdb/NEWS index 6b00cd8f9f..7fe588dabb 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -86,6 +86,15 @@ target extended-remote FILENAME If FILENAME is a Unix domain socket, GDB will attempt to connect to this socket instead of opening FILENAME as a character device. +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. + 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