diff options
author | Tom de Vries <tdevries@suse.de> | 2022-08-05 16:12:56 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-08-05 16:12:56 +0200 |
commit | 728d5439e3f5e812246237670f5d9dc9f0d97bae (patch) | |
tree | 7dfd07a600106ab853f1daa502fffd1961ba9a67 /gdbserver/tdesc.cc | |
parent | b069b588cfe10e6bf20ed723cf796686ba4fc0dc (diff) | |
download | gdb-728d5439e3f5e812246237670f5d9dc9f0d97bae.zip gdb-728d5439e3f5e812246237670f5d9dc9f0d97bae.tar.gz gdb-728d5439e3f5e812246237670f5d9dc9f0d97bae.tar.bz2 |
[gdb] Add unit test for gdb::sequential_for_each
With commit 18a5766d09c ("[gdbsupport] Add sequential_for_each") I added a
drop-in replacement for gdb::parallel_for_each, but there's nothing making
sure that the two remain in sync.
Extend the unit test for gdb::parallel_for_each to test both.
Do this using a slightly unusual file-self-inclusion. Doing so keep things
readable and maintainable, and avoids macrofying functions.
Tested on x86_64-linux.
Diffstat (limited to 'gdbserver/tdesc.cc')
0 files changed, 0 insertions, 0 deletions