* gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name

when saving index.
This commit is contained in:
Tom Tromey
2013-08-28 14:20:43 +00:00
parent 59ee9f94e5
commit 7893c16288
2 changed files with 7 additions and 1 deletions

View 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

View 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