From 7893c1628865061e2a2fb1ba84103ca18a44f0fa Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 28 Aug 2013 14:20:43 +0000 Subject: [PATCH] * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name when saving index. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.dwarf2/gdb-index.exp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7467bb9..25ce0f4 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 bc976cf..ac32b54 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 -- 2.7.4