commit | 32c39bab07b6cfcf42c899e65c39b7a9a9d2d9fe | [log] [tgz] |
---|---|---|
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | Mon May 12 09:10:55 2025 +0200 |
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | Mon May 12 09:11:10 2025 +0200 |
tree | a0038a18e469058ae14308e10071a040427879e5 | |
parent | 8dc4e62fc94ad34e4e4b92df25e0ad11af663084 [diff] |
gdb: pass info_threads_opts to print_thread_info_1 The "info threads" command tracks its options in a struct named 'info_threads_opts', which currently has only one option. Pass the whole options object to helper functions, instead of passing the option value individually. This is a refactoring to make adding more options easier. Reviewed-By: Guinevere Larsen <guinevere@redhat.com> Approved-by: Pedro Alves <pedro@palves.net