diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2014-04-17 10:52:43 +0100 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2014-04-17 10:52:43 +0100 |
commit | 40d1a503c43cda6c04a637972e5635d803f46cde (patch) | |
tree | 72c2a52e44883ccafcb6a8ace1e9314665ada00e /gdb | |
parent | 4c34aff883e4fcc958a2d2c98874a035efc07651 (diff) | |
download | gdb-40d1a503c43cda6c04a637972e5635d803f46cde.zip gdb-40d1a503c43cda6c04a637972e5635d803f46cde.tar.gz gdb-40d1a503c43cda6c04a637972e5635d803f46cde.tar.bz2 |
Drop prefix from unsupported source path.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7cc86f1..13752ef 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com> + + * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc): + Drop prefix from unsupported source file path. + 2014-04-17 Yao Qi <yao@codesourcery.com> * lib/gdb.exp (with_target_charset): New proc. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 53c7aba..5411cb5 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2861,7 +2861,7 @@ proc gdb_compile_pthreads {source dest type options} { } } if {!$built_binfile} { - unsupported "Couldn't compile $source: ${why_msg}" + unsupported "Couldn't compile [file tail $source]: ${why_msg}" return -1 } } @@ -3033,7 +3033,7 @@ proc gdb_compile_objc {source dest type options} { } } if {!$built_binfile} { - unsupported "Couldn't compile $source: ${why_msg}" + unsupported "Couldn't compile [file tail $source]: ${why_msg}" return -1 } } |