This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Announce the user visible changes for frame/thread apply in NEWS.
- From: Philippe Waroquiers <philippe at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 12 Jul 2018 21:11:31 -0000
- Subject: [binutils-gdb] Announce the user visible changes for frame/thread apply in NEWS.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a14c4daab2fe90612e63169425e74098e74d5f28
commit a14c4daab2fe90612e63169425e74098e74d5f28
Author: Philippe Waroquiers <philippe.waroquiers@skynet.be>
Date: Thu Jul 12 23:02:14 2018 +0200
Announce the user visible changes for frame/thread apply in NEWS.
'frame apply', faas, taas, tfaas commands and [FLAG]... arg for thread apply.
gdb/ChangeLog
2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* NEWS: Mention new commands. Mention change to 'thread apply'.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/NEWS | 27 +++++++++++++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 57623c2..eca3c56 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+ * NEWS: Mention new commands. Mention change to 'thread apply'.
+
+2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
* thread.c (thr_try_catch_cmd): New function.
(thread_apply_all_command): Handle qcs flags.
(thread_apply_command): Handle qcs flags.
diff --git a/gdb/NEWS b/gdb/NEWS
index acb9c34..2b51465 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -7,6 +7,33 @@
can be passed using the '[ADDRESS]:PORT' notation, or the regular
'ADDRESS:PORT' method.
+* 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