diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-02-01 12:57:11 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-03-05 16:35:23 +0000 |
commit | f08311ceb1ba4e19eab7070e676416337455a074 (patch) | |
tree | e235e6651ace9eb96b81643b15f87db0ddd18e58 /bfd | |
parent | b208792b31cf194f069af034290b8df6d3ee27c3 (diff) | |
download | gdb-f08311ceb1ba4e19eab7070e676416337455a074.zip gdb-f08311ceb1ba4e19eab7070e676416337455a074.tar.gz gdb-f08311ceb1ba4e19eab7070e676416337455a074.tar.bz2 |
gdb/testsuite: fix duplicate test names in gdb.trace/circ.exp
This fixes some duplicate test names in gdb.trace/circ.exp when using
native-gdbserver and native-extended-gdbserver boards.
In this test we set the trace buffer size twice. The same test name
was used each time the size was adjusted.
I've fixed this issue by:
1. Creating a new proc, set_trace_buffer_size, which factors out the
code to change the buffer size, and uses test names based on the
size we're setting the buffer too,
2. Calling the new proc each time we want to adjust the buffer size.
After this the duplicate test names are resolved. There should be no
change in what is tested after this commit.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions