* gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
authorTom Tromey <tromey@redhat.com>
Wed, 28 Aug 2013 14:20:43 +0000 (14:20 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 28 Aug 2013 14:20:43 +0000 (14:20 +0000)
when saving index.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/gdb-index.exp

index 7467bb9..25ce0f4 100644 (file)
@@ -1,3 +1,8 @@
+2013-08-28  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
+       when saving index.
+
 2013-08-27  Yao Qi  <yao@codesourcery.com>
 
        * gdb.trace/entry-values.exp: Test unavailable entry value is
index bc976cf..ac32b54 100644 (file)
@@ -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