set link-flags "-e _start"
set debug-flags ""
-set obj_include -I[standard_output_file {}]
+set obj_include -I[host_standard_output_file {}]
switch -glob -- [istarget] {
"alpha*-*-*" {
set note_inc [standard_output_file note.inc]
remote_exec build "rm -f $arch_inc"
-remote_download host ${srcdir}/${subdir}/${asm-arch}.inc $arch_inc
+remote_download build ${srcdir}/${subdir}/${asm-arch}.inc $arch_inc
remote_exec build "rm -f $note_inc"
-remote_download host ${srcdir}/${subdir}/${asm-note}.inc $note_inc
+remote_download build ${srcdir}/${subdir}/${asm-note}.inc $note_inc
+
+gdb_remote_download host $arch_inc
+gdb_remote_download host $note_inc
+gdb_remote_download host ${srcdir}/${subdir}/common.inc
if { [string equal ${asm-flags} ""] } {
- set asm-flags "-I${srcdir}/${subdir} $obj_include"
+ set asm-flags "$obj_include"
}
if { [string equal ${debug-flags} ""] } {