[RFC,5/5] Announce 'frame apply', faas, taas, tfaas commands and -FLAGS... arg for frame apply
Commit Message
Announce the user visible changes.
---
gdb/NEWS | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Comments
> From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Cc: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Date: Sat, 5 May 2018 21:28:04 +0200
>
> 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)
Please add a period at the end of this sentence.
> + Shortcut for 'thread apply all -s COMMAND'
Likewise.
> +faas COMMAND
> + Apply a command to all frames (ignoring errors and empty output)
Likewise,
> + Shortcut for 'frame apply all -s COMMAND'
Likewise.
> +
> +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'
Likewise.
> +
> 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.
Please quote "thread apply" 'like this'.
Thanks.
@@ -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.