Patchwork [RFA_v2,5/8] Announce in NEWS 'frame apply', faas, taas, tfaas commands and FLAGS... arg for thread apply

login
register
mail settings
Submitter Philippe Waroquiers
Date June 5, 2018, 8:49 p.m.
Message ID <20180605204905.30612-6-philippe.waroquiers@skynet.be>
Download mbox | patch
Permalink /patch/27646/
State New
Headers show

Comments

Philippe Waroquiers - June 5, 2018, 8:49 p.m.
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  <philippe.waroquiers@skynet.be>

	* NEWS: Mention new commands. Mention change to 'thread apply'.
---
 gdb/NEWS | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
Eli Zaretskii - June 6, 2018, 2:57 p.m.
> From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Cc: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Date: Tue,  5 Jun 2018 22:49:02 +0200
> 
> 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  <philippe.waroquiers@skynet.be>
> 
> 	* NEWS: Mention new commands. Mention change to 'thread apply'.

OK.

Patch

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.