When running the testsuite, I have:
Running .../gdb/testsuite/gdb.base/readline.exp ...
DUPLICATE: gdb.base/readline.exp: Simple operate-and-get-next - final prompt
Fix by adjusting the prefix given to the second 'simple' call to
operate_and_get_next.
Tested on x86_64-linux.
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
- operate_and_get_next "Simple operate-and-get-next" \
+ operate_and_get_next "Simple operate-and-get-next, two" \
"p 7" ".* = 7" \
"p 8" ".* = 8" \
"p 9" ".* = 9"