+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.tgt (gdb_osabi, build_gdbserver): Comment variables.
+ (arm*-*-*): Do not set obsolete build_rdi_share variable.
+
+ (*-*-freebsd* | *-*-kfreebsd*-gnu): Remove generic case, replace by ...
+ (alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
+ (i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
+ (sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu): ... specific cases.
+ (x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu): Re-sort.
+
+ (xscale-*-*): Merge into arm*-*-* case.
+ (fido-*-elf*): Merge into m68*-*-elf* case.
+ (m68*-*-aout*, m68*-*-coff*, m68*-*-elf*, m68*-*-rtems*,
+ m68*-*-uclinux*): Merge cases.
+ (powerpc-*-linux*, powerpc64-*-linux*): Merge cases.
+ (sh-*-coff*, sh-*-elf*): Merge into sh* case.
+
2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
* configure.tgt: Reformat main case statement.
# This file sets the following shell variables:
# gdb_target_cpu generic name of CPU
# gdb_target name of GDB target definition to use
+# gdb_osabi default OS ABI to use with target
+# build_gdbserver set to "yes" if gdbserver supports target
case $target in
d10v-*-* | \
case "${target}" in
-x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
- gdb_target=fbsd64
- ;;
-*-*-freebsd* | *-*-kfreebsd*-gnu)
- gdb_target=fbsd
- ;;
-
alpha*-*-osf*)
gdb_target=alpha-osf1
;;
alpha*-*-linux*)
gdb_target=alpha-linux
;;
+alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
+ gdb_target=fbsd
+ ;;
alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
gdb_target=nbsd
;;
arm*-*-openbsd*)
gdb_target=obsd
;;
-arm*-*-* | thumb*-*-* | strongarm*-*-*)
- gdb_target=embed
- build_rdi_share=yes
- ;;
-xscale-*-*)
+arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
gdb_target=embed
- build_rdi_share=yes
;;
avr-*-*)
gdb_target=cris
;;
-fido-*-elf*)
- gdb_target=monitor
- ;;
-
frv-*-*)
gdb_target=frv
;;
gdb_target=hppa
;;
+i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
+ gdb_target=fbsd
+ ;;
i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
gdb_target=nbsd
;;
gdb_target=m68hc11
;;
-m68*-*-aout*)
- gdb_target=monitor
- ;;
-m68*-*-coff*)
- gdb_target=monitor
- ;;
-m68*-*-elf*)
- gdb_target=monitor
- ;;
-m68*-*-rtems*)
+m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
+fido-*-elf*)
gdb_target=monitor
;;
m68*-*-linux*)
m68*-*-openbsd*)
gdb_target=obsd
;;
-m68*-*-uclinux*)
- gdb_target=monitor
- ;;
m88*-*-openbsd*)
gdb_target=obsd
powerpc-*-aix* | rs6000-*-*)
gdb_target=aix
;;
-powerpc-*-linux*)
- gdb_target=linux
- build_gdbserver=yes
- ;;
-powerpc64-*-linux*)
+powerpc-*-linux* | powerpc64-*-linux*)
gdb_target=linux
build_gdbserver=yes
;;
gdb_target=embed
;;
-sh-*-coff*)
- gdb_target=embed
- ;;
-sh-*-elf*)
- gdb_target=embed
- ;;
# FIXME should that be sh*-*-linux*, perhaps?
sh-*-linux*)
gdb_target=linux
sparc64-*-linux*)
gdb_target=linux64
;;
+sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
+ gdb_target=fbsd
+ ;;
sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
gdb_target=nbsd
;;
gdb_target=linux64
build_gdbserver=yes
;;
+x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
+ gdb_target=fbsd64
+ ;;
x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
gdb_target=nbsd64
;;