diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2023-05-08 01:03:42 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2023-05-13 18:10:05 +0000 |
commit | d2b585f3cfc253678bf33b552a219e25eb29e686 (patch) | |
tree | d2dee89582caa642cbc98422ed25483e3acf64dd /move-if-change | |
parent | 249d1bad51b568c74ea37e8b3e76c179eb53a733 (diff) | |
download | binutils-gdb-d2b585f3cfc253678bf33b552a219e25eb29e686.tar.gz |
Fix bad interaction between element limit and repeated values (BZ#24331).
Currently
print -elements=3 -- "AAAAAA"
prints complete string, which is not what the user asked for.
Fix two buggy tests exposed by the fix, and add a new test.
Reviewed-by: Keith Seitz <keiths@redhat.com>
Diffstat (limited to 'move-if-change')
0 files changed, 0 insertions, 0 deletions