aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2021-04-30 11:25:47 +0200
committerTom de Vries <tdevries@suse.de>2021-04-30 11:25:47 +0200
commit7f7f284dfeebd16f7f8a08a565cf9837c3322308 (patch)
treeb1ac81e74b62f5a98a46250db6033e3b4b482fd9
parent7a8238b0722bf53839a939fb30100ce3bb90def9 (diff)
downloadfsf-binutils-gdb-7f7f284dfeebd16f7f8a08a565cf9837c3322308.zip
fsf-binutils-gdb-7f7f284dfeebd16f7f8a08a565cf9837c3322308.tar.gz
fsf-binutils-gdb-7f7f284dfeebd16f7f8a08a565cf9837c3322308.tar.bz2
[gdb/testsuite] Fix duplicate test name in gdb.mi/mi-sym-info.exp
Since commit 2d61316c32a "[gdb/testsuite] Fix buffer full errors in gdb.mi/mi-sym-info.exp", we have a duplicate test name: ... Running src/gdb/testsuite/gdb.mi/mi-sym-info.exp ... DUPLICATE: gdb.mi/mi-sym-info.exp: List all variables ... This is caused by a copy-paste accident: the idea was to copy the test, edit it, and then remove the old test, but I forgot to remove the old one. Remove it now. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2021-04-30 Tom de Vries <tdevries@suse.de> * gdb.mi/mi-sym-info.exp: Remove duplicate test.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.mi/mi-sym-info.exp33
2 files changed, 4 insertions, 33 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 42ffb65..10c7d76 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2021-04-30 Tom de Vries <tdevries@suse.de>
+
+ * gdb.mi/mi-sym-info.exp: Remove duplicate test.
+
2021-04-29 Tom de Vries <tdevries@suse.de>
PR testsuite/27786
diff --git a/gdb/testsuite/gdb.mi/mi-sym-info.exp b/gdb/testsuite/gdb.mi/mi-sym-info.exp
index ca19275..f7f574a 100644
--- a/gdb/testsuite/gdb.mi/mi-sym-info.exp
+++ b/gdb/testsuite/gdb.mi/mi-sym-info.exp
@@ -156,39 +156,6 @@ with_timeout_factor 2 {
set state 0
gdb_test_multiple $cmd ${testname} -prompt "${mi_gdb_prompt}$" {
-re "115\\^done,symbols=\{" {
- if { $state == 0 } { set state 1 }
- exp_continue
- }
- -re "debug=\\\[${symtab_re}" {
- if { $state == 1 } { set state 2 }
- exp_continue
- }
- -re ",${symtab_re}" {
- exp_continue
- }
- -re "\\\],nondebug=\\\[" {
- if { $state == 2 } { set state 3 }
- exp_continue
- }
- -re "\{address=${qstr},name=${qstr}\}," {
- exp_continue
- }
- -re "\{address=${qstr},name=${qstr}\}\\\]\}\r\n${mi_gdb_prompt}$" {
- if { $state == 3 } {
- pass $gdb_test_name
- } else {
- fail $gdb_test_name
- }
- }
- }
-}
-
-with_timeout_factor 2 {
- set testname "List all variables"
- set cmd "115-symbol-info-variables --include-nondebug"
- set state 0
- gdb_test_multiple $cmd ${testname} -prompt "${mi_gdb_prompt}$" {
- -re "115\\^done,symbols=\{" {
if { $state == 0 } { incr state }
exp_continue
}