From a14c4daab2fe90612e63169425e74098e74d5f28 Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Thu, 12 Jul 2018 23:02:14 +0200 Subject: [PATCH] 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 * NEWS: Mention new commands. Mention change to 'thread apply'. --- 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 + * NEWS: Mention new commands. Mention change to 'thread apply'. + +2018-07-12 Philippe Waroquiers + * 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 -- 2.7.4