diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-filename.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-filename.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-filename.exp b/gdb/testsuite/gdb.dwarf2/dw2-filename.exp index 2d87446..fb7cf64 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-filename.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-filename.exp @@ -38,3 +38,6 @@ clean_restart ${testfile}.x # is that the file and fullname fields are now inverted. gdb_test "interpreter-exec mi -file-list-exec-source-files" \ ".*{file=\"file1\\.txt\",fullname=\".+file1\\.txt\"}.*" + +# And `info sources' should return the fullname incl. the directories. +gdb_test "info sources" {[/\\]file1\.txt} |