6 . ${srcdir}/../configure.host
8 echo "rdi-share/configure.in: host is $host, target is $target"
10 if [ ! -f ${srcdir}/../config/${gdb_host_cpu}/${gdb_host}.mh ]; then
11 echo '***' "GDB remote does not support host ${host}" 1>&2
15 # We really shouldn't depend on there being a space after XM_FILE= ...
16 hostfile=`awk '$1 == "XM_FILE=" { print $2 }' <${srcdir}/../config/${gdb_host_cpu}/${gdb_host}.mh`
20 . ${srcdir}/../configure.tgt
22 echo "rdi-share/configure.in: host_cpu is $host_cpu, target_cpu is $target_cpu"
24 if [ ! -f ${srcdir}/../config/${gdb_target_cpu}/${gdb_target}.mt ]; then
25 echo '***' "GDB remote does not support target ${target}" 1>&2
29 if [ -z "${removing}" ] ; then
30 cat ${srcdir}/../config/${gdb_host_cpu}/${gdb_host}.mh ${srcdir}/../config/${gdb_target_cpu}/${gdb_target}.mt | awk '$1 == "#msg" {
34 # We really shouldn't depend on there being a space after TM_FILE= ...
35 targetfile=`awk '$1 == "TM_FILE=" { print $2 }' <${srcdir}/../config/${gdb_target_cpu}/${gdb_target}.mt`
37 if [ "${target}" = "${host}" ] ; then
38 nativefile=`awk '$1 == "NAT_FILE=" { print $2 }' <${srcdir}/../config/${gdb_host_cpu}/${gdb_host}.mh`
41 host_makefile_frag=../config/${gdb_host_cpu}/${gdb_host}.mh
42 target_makefile_frag=../config/${gdb_target_cpu}/${gdb_target}.mt