binutils-gdb/gdb/testsuite/gdb.mi
Tom de Vries 9de46719da [gdb/testsuite] Fix duplicate in gdb.mi/mi-var-cp.exp
With test-case gdb.mi/mi-var-cp.exp I run into this duplicate:
...
PASS: gdb.mi/mi-var-cp.exp: run to mi-var-cp.cc:104 (set breakpoint)
PASS: gdb.mi/mi-var-cp.exp: create varobj for s
PASS: gdb.mi/mi-var-cp.exp: create varobj for s
DUPLICATE: gdb.mi/mi-var-cp.exp: create varobj for s
...

This is due to a duplicate test name here:
...
$ cat -n gdb/testsuite/gdb.mi/mi-var-cp.cc
  ...
   100  int reference_to_struct ()
   101  {
   102    /*: BEGIN: reference_to_struct :*/
   103    S s = {7, 8};
   104    S& r = s;
   105    /*:
   106      mi_create_varobj S s "create varobj for s"
   107      mi_create_varobj R r "create varobj for s"
...

Fix this by using "create varobj for r" instead.

Tested on x86_64-linux.
2021-10-25 18:15:15 +02:00
..
array.f90 gdb, testsuite: Fix mi-var-child-f.exp for Intel compilers. 2021-06-11 17:16:46 +02:00
basics.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ChangeLog-1999-2003
dw2-ref-missing-frame-func.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
dw2-ref-missing-frame-main.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
dw2-ref-missing-frame.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
dw2-ref-missing-frame.S Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb669.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb680.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb701.c
gdb701.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb792.cc
gdb792.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb2549.exp [gdb/testsuite] Fix gdb.mi/gdb2549.exp with check-read1 2021-10-08 13:07:52 +02:00
interrupt-thread-group.c gdb: disable commit-resumed on -exec-interrupt --thread-group 2021-07-13 09:16:15 -04:00
interrupt-thread-group.exp gdb: disable commit-resumed on -exec-interrupt --thread-group 2021-07-13 09:16:15 -04:00
list-thread-groups-available.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
list-thread-groups-available.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
list-thread-groups-no-inferior.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi2-amd64-entry-value.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi2-amd64-entry-value.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi2-amd64-entry-value.s Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi2-cli-display.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi2-cli-display.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi2-prompt.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi2-var-child.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-async-run.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-async-run.exp [gdb/testsuite] Fix untested messages in gdb.mi/*.exp 2021-09-30 19:07:47 +02:00
mi-async.exp [gdb/testsuite] Require use_gdb_stub == 0 where appropriate 2021-10-13 11:06:36 +02:00
mi-basics.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-break-qualified.cc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-break-qualified.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-break.exp Fixes for gdb.mi/mi-break.exp 2021-10-21 13:54:09 -05:00
mi-breakpoint-changed.exp [gdb/testsuite] Fix FAILs in gdb.mi/mi-breakpoint-changed.exp 2021-10-22 17:42:37 +02:00
mi-breakpoint-multiple-locations.cc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-breakpoint-multiple-locations.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-catch-cpp-exceptions.cc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-catch-cpp-exceptions.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-catch-load-so.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-catch-load.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-catch-load.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cli.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmd-error.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmd-param-changed.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-complete.cc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-complete.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-condbreak-call-thr-state-mt.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-condbreak-call-thr-state-st.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-condbreak-call-thr-state.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-condbreak-call-thr-state.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-console.c
mi-console.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-detach.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-disassemble.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-dprintf-pending.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-dprintf-pending.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-dprintf-pendshr.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-dprintf.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-dprintf.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-editing.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-eval.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-exec-run.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-exit-code.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-exit-code.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-file-transfer.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-file.exp gdb/mi: add regexp filtering to -file-list-exec-source-files 2021-06-25 20:54:29 +01:00
mi-fill-memory.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-fortran-modules-2.f90 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-fortran-modules.exp [gdb/testsuite] Fix fortran module tests with stressed cpu 2021-10-09 11:35:43 +02:00
mi-fortran-modules.f90 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-frame-regs.exp [gdb/testsuite] Fix untested messages in gdb.mi/*.exp 2021-09-30 19:07:47 +02:00
mi-fullname-deleted.exp [gdb/testsuite] Fix untested messages in gdb.mi/*.exp 2021-09-30 19:07:47 +02:00
mi-hack-cli.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-i-cmd.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-info-os.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-info-sources-base.c gdb/mi: add regexp filtering to -file-list-exec-source-files 2021-06-25 20:54:29 +01:00
mi-info-sources.c gdb/mi: add regexp filtering to -file-list-exec-source-files 2021-06-25 20:54:29 +01:00
mi-info-sources.exp [gdb/testsuite] Minimize gdb restarts 2021-09-25 09:28:57 +02:00
mi-inheritance-syntax-error.cc
mi-inheritance-syntax-error.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-language.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-linespec-err-cp.cc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-linespec-err-cp.exp [gdb/testsuite] Minimize gdb restarts 2021-09-25 09:28:57 +02:00
mi-logging.exp [gdb/testsuite] Fix handling of nr_args < 3 in mi_gdb_test 2021-09-10 17:16:48 +02:00
mi-memory-changed.exp [gdb/testsuite] Fix handling of nr_args < 3 in mi_gdb_test 2021-09-10 17:16:48 +02:00
mi-nonstop-exit.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-nonstop.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-ns-stale-regcache.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-nsintrall.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-nsmoribund.exp [gdb/testsuite] Fix FAIL in gdb.mi/mi-nsmoribund.exp 2021-10-05 15:52:53 +02:00
mi-nsthrexec.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-pending.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-pending.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-pendshr2.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-pendshr.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-pthreads.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-read-memory.c
mi-read-memory.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-record-changed.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-reg-undefined.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-reg-undefined.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-reg-undefined.S Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-regs.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-return.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-reverse.exp Fix for mi-reverse.exp 2021-07-26 10:47:56 -05:00
mi-simplerun.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-solib.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-stack.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-stack.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-start.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-start.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-stepi.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-stepn.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-stepn.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-sym-info-1.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-sym-info-2.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-sym-info.exp [gdb/testsuite] Minimize gdb restarts 2021-09-25 09:28:57 +02:00
mi-syn-frame.c
mi-syn-frame.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-threads-interrupt.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-threads-interrupt.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-undefined-cmd.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-until.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-block.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-child-f.exp [gdb/testsuite] Fix FAIL in gdb.mi/mi-var-child-f.exp 2021-10-11 16:59:56 +02:00
mi-var-child.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-child.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-cmd.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-cp.cc [gdb/testsuite] Fix duplicate in gdb.mi/mi-var-cp.exp 2021-10-25 18:15:15 +02:00
mi-var-cp.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-create-rtti.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-create-rtti.exp gdb/testsuite: make runto_main not pass no-message to runto 2021-09-30 15:27:39 -04:00
mi-var-display.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-invalidate.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-list-children-invalid-grandchild.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-list-children-invalid-grandchild.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-rtti.cc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-var-rtti.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-vla-c99.exp [gdb/testsuite] Fix untested messages in gdb.mi/*.exp 2021-09-30 19:07:47 +02:00
mi-vla-fortran.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-watch-nonstop.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-watch.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
new-ui-mi-sync.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
new-ui-mi-sync.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
non-stop-exit.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
non-stop.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ns-stale-regcache.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
nsintrall.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
nsmoribund.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
nsthrexec.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
pending.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
pendshr1.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
pendshr2.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
pr11022.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
pr11022.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
pthreads.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
solib-lib.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
solib-main.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
testcmds
until.c
user-selected-context-sync.c [gdb/testsuite] Fix timeout in gdb.mi/user-selected-context-sync.exp with gcc-11 2021-06-10 13:38:03 +02:00
user-selected-context-sync.exp gdb/testsuite: make runto_main not pass no-message to runto 2021-09-30 15:27:39 -04:00
var-cmd.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
vla.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
vla.f90 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
watch-nonstop.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00