From: Tom Tromey Date: Wed, 28 Aug 2013 14:20:43 +0000 (+0000) Subject: * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7893c1628865061e2a2fb1ba84103ca18a44f0fa;p=binutils-gdb.git * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name when saving index. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7467bb9b3e5..25ce0f4587f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-08-28 Tom Tromey + + * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name + when saving index. + 2013-08-27 Yao Qi * gdb.trace/entry-values.exp: Test unavailable entry value is diff --git a/gdb/testsuite/gdb.dwarf2/gdb-index.exp b/gdb/testsuite/gdb.dwarf2/gdb-index.exp index bc976cfc1ed..ac32b54fdaf 100644 --- a/gdb/testsuite/gdb.dwarf2/gdb-index.exp +++ b/gdb/testsuite/gdb.dwarf2/gdb-index.exp @@ -36,7 +36,8 @@ proc add_gdb_index { program } { set index_file ${program}.gdb-index verbose -log "index_file: ${index_file}" remote_file host delete ${index_file} - gdb_test_no_output "save gdb-index [file dirname ${index_file}]" + gdb_test_no_output "save gdb-index [file dirname ${index_file}]" \ + "save gdb-index for file [file tail ${program}]" # No point in continuing if generating the index failed. # N.B.: There are times when gdb won't create an index, and it's not a