diff options
author | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2018-05-05 20:33:38 +0200 |
---|---|---|
committer | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2018-07-12 22:50:36 +0200 |
commit | 1fe75df7eb1fcdf56bbf3041b473bd9a80120054 (patch) | |
tree | 51402073361fb0369d7d66046852fa96a3aee9b6 /gdb/unittests/cli-utils-selftests.c | |
parent | 6a70eb7d9bf1646e7a7379eb8efdba30c2cb9c92 (diff) | |
download | binutils-1fe75df7eb1fcdf56bbf3041b473bd9a80120054.zip binutils-1fe75df7eb1fcdf56bbf3041b473bd9a80120054.tar.gz binutils-1fe75df7eb1fcdf56bbf3041b473bd9a80120054.tar.bz2 |
Add [FLAG]... arguments to 'thread apply'.
Enhance 'thread apply' command to also accept [FLAG]... arguments.
An example usage for this new argument:
thread apply all -s frame apply all -s p some_local_var_somewhere
Prints the thread id, frame location and some_local_var_somewhere
value in frames of threads that have such local var.
To make the life of the user easier, the most typical use cases
have shortcuts :
taas : shortcut for 'thread apply all -s'
tfaas : shortcut for 'thread apply all -s frame apply all -s"
An example usage :
tfaas p some_local_var_somewhere
same as the longer:
'thread apply all -s frame apply all -s p some_local_var_somewhere'
gdb/ChangeLog
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.
(taas_command): New function.
(tfaas_command): New function.
(_initialize_thread): Update to setup the new commands 'taas
and 'tfaas'. Change doc string for 'thread apply'.
Diffstat (limited to 'gdb/unittests/cli-utils-selftests.c')
0 files changed, 0 insertions, 0 deletions