From patchwork Sat May 5 19:28:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Waroquiers X-Patchwork-Id: 27126 Received: (qmail 15470 invoked by alias); 5 May 2018 19:28:30 -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 15365 invoked by uid 89); 5 May 2018 19:28:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-27.6 required=5.0 tests=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=announce, Controls, workarounds X-HELO: mailsec109.isp.belgacom.be Received: from mailsec109.isp.belgacom.be (HELO mailsec109.isp.belgacom.be) (195.238.20.105) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 05 May 2018 19:28:27 +0000 IronPort-PHdr: =?us-ascii?q?9a23=3A1LJzWxx4p5KzKSbXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?2+4eIJqq85mqBkHD//Il1AaPAd2Araocw8Pt8InYEVQa5piAtH1QOLdtbDQizf?= =?us-ascii?q?ssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1?= =?us-ascii?q?JuPoEYLOksi7ze+/94HdbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeu?= =?us-ascii?q?BWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbO?= =?us-ascii?q?SxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRHoli?= =?us-ascii?q?kJKjA3/mLQhMNygqJWuw6tqwBlzoLIeoyZKOZyc6XAdt0aX2pBWcNRWjRbDIO8?= =?us-ascii?q?bosPC+sBPf5Ar4bjulABrQGxBROrBOP21z9Ih2H53bch0+88FgzGxAwgH9MKsH?= =?us-ascii?q?TVtNX1LLkdXfq7zabS1zXDaOpW2Sr86IfWaBAhuuqBXalzccvRz0kgCR/Fgk+L?= =?us-ascii?q?poP7Jj6Y0PkGvWuD7+d4SO6jl2oqpxtsrjWh2ssgkJTFipwUx1ze6yl0zpg5KN?= =?us-ascii?q?ulQ0Bhe9GkCoFftySCOotzRcMtXn9ntT4hyr0DpZ67ZC8KyIk7xxLHa/yIbYyI?= =?us-ascii?q?4hX7WeaUPDh0nnJleLW6hxms6USgy+v8Wdeo0FtSsyZJjt3BumoQ2xHd9sSLUO?= =?us-ascii?q?Zx8lmg1DqVyQze5P9ILVgxlaXBKp4hxrAwloAUsUTGBiL2gEX2jK6SdkUl4uio?= =?us-ascii?q?8/robq/op5CGLY90jRj+MrkvmsOhG+Q4KRMDX3OY+eW80r3s41H5TK9RgfIoiq?= =?us-ascii?q?XZqozVJdwHpq6lBA9Yyokj5AukADu/yNQXh2UHI05FeB2ZlIjkIErOIPflDfel?= =?us-ascii?q?n1ujjjlqyOrcPrL/GJnNKWLDkLj5d7Zn90Fc0BYzzcxY559MErEBIPPzWkvwtN?= =?us-ascii?q?zAFh82LRa4wuj9B9Vn0YMeQH+PAq6HP6PIql+F/fkvI+qMZY8Tpjn9N+Ip6OXw?= =?us-ascii?q?gixxpVhIcqWjmIMedHu4E+9OOEKEe3Hhnd4bHCENpAVtYvbtjQi6UT9XZm6qUu?= =?us-ascii?q?oD7ys8EZ+nAJ3YDtS1gL2F3T+jE9tJb3pBE02NHG3zX56HSvEBdGSYL5kywXQ/?= =?us-ascii?q?SbG9Rtp5hlmVvwjgxu8/Iw=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2D2AwAkBe5a/+h+gm1cHQEBBQELAYNEg?= =?us-ascii?q?VuMGF6MFQGCKQFDGpMkgXgLKwGEQAKCNyI0GAECAQEBAQEBAgFrKII1IoJSBlY?= =?us-ascii?q?jED8SOR4zhQuqG4hBgjiJeT+BD4JWhXSFCAKYJAiBZYxdC4xikEmBJRw4gVJtg?= =?us-ascii?q?xeCR44IPYEoARoBjyMBAQ?= X-IPAS-Result: =?us-ascii?q?A2D2AwAkBe5a/+h+gm1cHQEBBQELAYNEgVuMGF6MFQGCKQF?= =?us-ascii?q?DGpMkgXgLKwGEQAKCNyI0GAECAQEBAQEBAgFrKII1IoJSBlYjED8SOR4zhQuqG?= =?us-ascii?q?4hBgjiJeT+BD4JWhXSFCAKYJAiBZYxdC4xikEmBJRw4gVJtgxeCR44IPYEoARo?= =?us-ascii?q?BjyMBAQ?= Received: from 232.126-130-109.adsl-dyn.isp.belgacom.be (HELO md.home) ([109.130.126.232]) by relay.skynet.be with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 05 May 2018 21:28:17 +0200 From: Philippe Waroquiers To: gdb-patches@sourceware.org Cc: Philippe Waroquiers Subject: [RFC 5/5] Announce 'frame apply', faas, taas, tfaas commands and -FLAGS... arg for frame apply Date: Sat, 5 May 2018 21:28:04 +0200 Message-Id: <20180505192804.12731-6-philippe.waroquiers@skynet.be> In-Reply-To: <20180505192804.12731-1-philippe.waroquiers@skynet.be> References: <20180505192804.12731-1-philippe.waroquiers@skynet.be> X-IsSubscribed: yes Announce the user visible changes. --- gdb/NEWS | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gdb/NEWS b/gdb/NEWS index cef558039e..8ee4db985d 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -14,6 +14,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. @@ -27,6 +45,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 a new argument FLAGS. + 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.