aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-08-28 14:20:43 +0000
committerTom Tromey <tromey@redhat.com>2013-08-28 14:20:43 +0000
commit7893c1628865061e2a2fb1ba84103ca18a44f0fa (patch)
treebb1d265fcaa7b77b9b0783f62ff5bb87b5e421ee /gdb/testsuite
parent59ee9f94e5ff96d5a3169cb2333bdf7acbf39357 (diff)
downloadgdb-7893c1628865061e2a2fb1ba84103ca18a44f0fa.zip
gdb-7893c1628865061e2a2fb1ba84103ca18a44f0fa.tar.gz
gdb-7893c1628865061e2a2fb1ba84103ca18a44f0fa.tar.bz2
* gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
when saving index.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.dwarf2/gdb-index.exp3
2 files changed, 7 insertions, 1 deletions
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 <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
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