Drop prefix from unsupported source path.

This commit is contained in:
Marcus Shawcroft 2014-04-17 10:52:43 +01:00
parent 4c34aff883
commit 40d1a503c4
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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
}
}