From patchwork Sun Jun 24 18:37:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Waroquiers X-Patchwork-Id: 28003 Received: (qmail 40143 invoked by alias); 24 Jun 2018 18:37: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 40004 invoked by uid 89); 24 Jun 2018 18:37:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 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=API, exposed, announce, Announce X-HELO: mailsec106.isp.belgacom.be Received: from mailsec106.isp.belgacom.be (HELO mailsec106.isp.belgacom.be) (195.238.20.102) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 24 Jun 2018 18:37:37 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2B5CACk5C9b/+ApQFdcHgEGDINJgU8SK?= =?us-ascii?q?Ixdi2ABgjUBQ5YPCysBhEACgwIiNxUBAgEBAQEBAQIBbCiCNSKCUgZWIxA/Ejk?= =?us-ascii?q?eGRqDC4IErmiEW4NmgQKKQj+BD4JaB4V1hQkCmS8HAoFrjRsLjUkgC5FCgVcig?= =?us-ascii?q?VJtgzyQUz0weAEaAY1VAQE?= X-IPAS-Result: =?us-ascii?q?A2B5CACk5C9b/+ApQFdcHgEGDINJgU8SKIxdi2ABgjUBQ5Y?= =?us-ascii?q?PCysBhEACgwIiNxUBAgEBAQEBAQIBbCiCNSKCUgZWIxA/EjkeGRqDC4IErmiEW?= =?us-ascii?q?4NmgQKKQj+BD4JaB4V1hQkCmS8HAoFrjRsLjUkgC5FCgVcigVJtgzyQUz0weAE?= =?us-ascii?q?aAY1VAQE?= Received: from 224.41-64-87.adsl-dyn.isp.belgacom.be (HELO md.home) ([87.64.41.224]) by relay.skynet.be with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 24 Jun 2018 20:37:17 +0200 From: Philippe Waroquiers To: gdb-patches@sourceware.org Cc: Philippe Waroquiers Subject: [RFA_v3 5/8] Announce the user visible changes for frame/thread apply in NEWS. Date: Sun, 24 Jun 2018 20:37:05 +0200 Message-Id: <20180624183708.888-6-philippe.waroquiers@skynet.be> In-Reply-To: <20180624183708.888-1-philippe.waroquiers@skynet.be> References: <20180624183708.888-1-philippe.waroquiers@skynet.be> X-IsSubscribed: yes 'frame apply', faas, taas, tfaas commands and [FLAG]... arg for thread apply. gdb/ChangeLog 2018-06-24 Philippe Waroquiers * NEWS: Mention new commands. Mention change to 'thread apply'. --- gdb/NEWS | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gdb/NEWS b/gdb/NEWS index 13da2f1d4e..85cd63c7c5 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -23,6 +23,24 @@ * New commands +frame apply [all | COUNT | -COUNT | id ID...] [FLAG]... COMMAND + Apply a command to some frames. + FLAG arguments allow to control what output to produce and how to handle + errors raised when applying COMMAND to a frame. + +taas COMMAND + Apply a command to all threads (ignoring errors and empty output). + Shortcut for 'thread apply all -s COMMAND'. + +faas COMMAND + Apply a command to all frames (ignoring errors and empty output). + Shortcut for 'frame apply all -s COMMAND'. + +tfaas COMMAND + Apply a command to all frames of all threads (ignoring errors and empty + output). + Shortcut for 'thread apply all -s frame apply all -s COMMAND'. + set debug fbsd-nat show debug fbsd-nat Control display of debugging info regarding the FreeBSD native target. @@ -46,6 +64,13 @@ maint show check-libthread-db debugging libraries as they are loaded. The default is not to perform such checks. +* Changed commands + +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 + errors raised when applying COMMAND to a thread. + * Python API ** Type alignment is now exposed via the "align" attribute of a gdb.Type.