[RFA_v4 0/8] Implement 'frame apply COMMAND', enhance 'thread apply COMMAND'

Philippe Waroquiers
2018-07-10T21:39:39Z

This is the fifth iteration of the patch series that:
* implements a new command
'frame apply [all | COUNT | -COUNT | level LEVEL...] [FLAG]... COMMAND'.
* enhance 'thread apply COMMAND' by adding FLAG arguments.
* adds some shortcuts commands.
* documents the above in gdb.texinfo and NEWS.
* adds a unit test for cli-utils.c.
* adds test for 'frame apply'.
* modify gdb.threads/pthreads.exp to test 'thread apply' FLAG arguments.

The fifth version is RFA v4. It handles the third set of comments
given by Pedro.
The main changes compared to RFA v3 are:
* frame level LEVEL... replaces frame id ID...

The fourth version is RFA v3. It handles the comments given by Pedro.
The main changes compared to RFA v2 are:
* The -q (quiet) flag replaces the verbosity/-v/-q concept.
* Addition of 'frame apply level LEVEL... [FLAG]... COMMAND' to allow
applying a command on a selected list of frames.
* [FLAG]... arguments are now parsed iteratively.
* Documentation and on-line help updated accordingly.
* tests updated accordingly.

The third version was RFA v2, handling the comments of Pedro about giving
the flags individually.
The changes compared to RFA v1 is:
* The flags must be given individually, such as -v -v -c.
* The documentation and on-line help was updated accordingly.
* ChangeLog information is distributed in each commit log message.

The second version was RFA v1, changes compared to RFC are:
* Replied to all comments of Eli and Simon.
* Tests and ChangeLog entries added.
* Comments received from Pedro

The first version was an RFC
* Code and doc was complete, but was lacking ChangeLog and tests.
* Comments received from Eli and Simon.