diff options
author | Tom Tromey <tromey@redhat.com> | 2013-01-23 21:04:45 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-01-23 21:04:45 +0000 |
commit | e2a3e0f1059915b0fb14dded53c5fe584714c22a (patch) | |
tree | 156d87f3db628723d3a39104f5e9e4e21261f253 /gdb | |
parent | 152fcc9cee7fa247f827a1265393680478df5302 (diff) | |
download | gdb-e2a3e0f1059915b0fb14dded53c5fe584714c22a.zip gdb-e2a3e0f1059915b0fb14dded53c5fe584714c22a.tar.gz gdb-e2a3e0f1059915b0fb14dded53c5fe584714c22a.tar.bz2 |
* gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-error.exp | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2da588c..eb6bedd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2013-01-23 Tom Tromey <tromey@redhat.com> + * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test. + +2013-01-23 Tom Tromey <tromey@redhat.com> + * gdb.cp/converts.cc (main): Initialize 'a'. 2013-01-23 Siva Chandra Reddy <sivachandra@google.com> diff --git a/gdb/testsuite/gdb.dwarf2/dw2-error.exp b/gdb/testsuite/gdb.dwarf2/dw2-error.exp index 22c7747..d0baeea 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-error.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-error.exp @@ -1,4 +1,4 @@ -# Copyright 2012 Free Software Foundation, Inc. +# Copyright 2012, 2013 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -36,7 +36,8 @@ gdb_test_no_output "set breakpoint pending off" # First test that reading symbols fails. gdb_test "file $binfile" \ - "Reading symbols.*Dwarf Error: wrong version in compilation unit header .is 153, should be 2, 3, or 4.*" + "Reading symbols.*Dwarf Error: wrong version in compilation unit header .is 153, should be 2, 3, or 4.*" \ + "file $testfile" # Now check that we can still break given the minimal symbol. gdb_test "break main" "Breakpoint $decimal.*" |