Patchwork [RFA_v4,5/8] Announce the user visible changes for frame/thread apply in NEWS.

login
register
mail settings
Submitter Philippe Waroquiers
Date July 10, 2018, 9:39 p.m.
Message ID <20180710213926.32240-6-philippe.waroquiers@skynet.be>
Download mbox | patch
Permalink /patch/28300/
State New
Headers show

Comments

Philippe Waroquiers - July 10, 2018, 9:39 p.m.
'frame apply', faas, taas, tfaas commands and [FLAG]... arg for thread apply.

gdb/ChangeLog
2018-07-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

	* NEWS: Mention new commands. Mention change to 'thread apply'.
---
 gdb/NEWS | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Patch

diff --git a/gdb/NEWS b/gdb/NEWS
index 2d1d161233..2309e34ac2 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,33 @@ 
 
 *** Changes since GDB 8.2
 
+* New commands
+
+frame apply [all | COUNT | -COUNT | level LEVEL...] [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'.
+
+* 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.
+
 *** Changes in GDB 8.2
 
 * The 'set disassembler-options' command now supports specifying options