From patchwork Tue Jun 5 20:49:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Waroquiers X-Patchwork-Id: 27646 Received: (qmail 86811 invoked by alias); 5 Jun 2018 20:49:52 -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 86503 invoked by uid 89); 5 Jun 2018 20:49:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.2 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=2324, Announce X-HELO: mailsec118.isp.belgacom.be Received: from mailsec118.isp.belgacom.be (HELO mailsec118.isp.belgacom.be) (195.238.20.114) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Jun 2018 20:49:43 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AyAwBz9hZb/2wz8VFcHgEGDINDZ2gSK?= =?us-ascii?q?IxbjBABgikBQ5NYgXgLKwGEQAKCHyI0GAECAQEBAQEBAgFrKII1IoJSBlYjED8?= =?us-ascii?q?HCzkeGRqDCIIFqWyIQoFoihY/gQ+CV4V0hQgCmHQHAoFnjHYLjSAgC5B7gUE4g?= =?us-ascii?q?VJtgxaCSI4IPTB4ARoBjjUBAQ?= X-IPAS-Result: =?us-ascii?q?A2AyAwBz9hZb/2wz8VFcHgEGDINDZ2gSKIxbjBABgikBQ5N?= =?us-ascii?q?YgXgLKwGEQAKCHyI0GAECAQEBAQEBAgFrKII1IoJSBlYjED8HCzkeGRqDCIIFq?= =?us-ascii?q?WyIQoFoihY/gQ+CV4V0hQgCmHQHAoFnjHYLjSAgC5B7gUE4gVJtgxaCSI4IPTB?= =?us-ascii?q?4ARoBjjUBAQ?= Received: from 108.51-241-81.adsl-dyn.isp.belgacom.be (HELO md.home) ([81.241.51.108]) by relay.skynet.be with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 05 Jun 2018 22:49:23 +0200 From: Philippe Waroquiers To: gdb-patches@sourceware.org Cc: Philippe Waroquiers Subject: [RFA_v2 5/8] Announce in NEWS 'frame apply', faas, taas, tfaas commands and FLAGS... arg for thread apply Date: Tue, 5 Jun 2018 22:49:02 +0200 Message-Id: <20180605204905.30612-6-philippe.waroquiers@skynet.be> In-Reply-To: <20180605204905.30612-1-philippe.waroquiers@skynet.be> References: <20180605204905.30612-1-philippe.waroquiers@skynet.be> X-IsSubscribed: yes Announce the user visible changes in NEWS: 'frame apply', faas, taas, tfaas commands and FLAGS... arg for thread apply. gdb/ChangeLog 2018-06-05 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 8fb6a2ad48..78e392d8b9 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -23,6 +23,24 @@ * New commands +frame apply [all | COUNT | -COUNT] [FLAGS...] COMMAND + Apply a command to a number of frames. + The FLAGS allows 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. @@ -36,6 +54,13 @@ set|show record btrace cpu Controls the processor to be used for enabling errata workarounds for branch trace decode. +* Changed commands + +thread apply [all | COUNT | -COUNT] [FLAGS...] COMMAND + The 'thread apply' command accepts new FLAGS arguments. + The FLAGS allows to control what output to produce and how to handle errors + raised when applying COMMAND to a frame. + * Python API ** Type alignment is now exposed via the "align" attribute of a gdb.Type.