1 srcname="Remote GDB server for Netware"
8 # Map target cpu into the config cpu subdirectory name.
9 # The default is $target_cpu.
11 case "${target_cpu}" in
13 alpha) gdb_target_cpu=alpha ;;
14 c[12]) gdb_target_cpu=convex ;;
15 hppa*) gdb_target_cpu=pa ;;
16 i[345]86) gdb_target_cpu=i386 ;;
17 m68*) gdb_target_cpu=m68k ;;
18 np1) gdb_target_cpu=gould ;;
19 pn) gdb_target_cpu=gould ;;
20 pyramid) gdb_target_cpu=pyr ;;
21 sparc*) gdb_target_cpu=sparc ;;
22 *) gdb_target_cpu=$target_cpu ;;
26 target_makefile_frag=${srcdir}/../config/${gdb_target_cpu}/gdbserve.mt
27 if [ ! -f ${target_makefile_frag} ]; then
28 echo '***' "GDBSERVE does not support target ${target}" 1>&2
33 s/CPU_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
34 ' ${target_makefile_frag}
36 # If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
37 # (NAT_FILE) is not set in the ?config/* file, we don't make the
38 # corresponding links. But we have to remove the xm.h files and tm.h
39 # files anyway, e.g. when switching from "configure host" to
45 if [ "${cpufile}" != "" ]; then
46 files="${files} ${cpufile}.h"
47 links="${links} cpu.h"