From: Marcus Shawcroft Date: Thu, 17 Apr 2014 09:52:43 +0000 (+0100) Subject: Drop prefix from unsupported source path. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40d1a503c43cda6c04a637972e5635d803f46cde;p=binutils-gdb.git Drop prefix from unsupported source path. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7cc86f1fa46..13752efb3e0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-04-17 Marcus Shawcroft + + * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc): + Drop prefix from unsupported source file path. + 2014-04-17 Yao Qi * lib/gdb.exp (with_target_charset): New proc. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 53c7aba820d..5411cb5b23f 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 } }