From: Joel Brobecker Date: Mon, 15 Mar 2010 17:06:12 +0000 (+0000) Subject: Fail gdb/configure if target is not supported. X-Git-Tag: gdb_7_1-2010-03-18-release~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c501ea9f9e127385bf6d736ce900d39c424def1;p=thirdparty%2Fbinutils-gdb.git Fail gdb/configure if target is not supported. * configure.ac: Exit if ${gdb_target_obs}" is not set. * configure: Regenerate. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 644f7c6effe..b401bfe3d23 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-03-15 Ralf Corsepius + + * configure.ac: Exit if ${gdb_target_obs}" is not set. + * configure: Regenerate. + 2010-03-14 Jan Kratochvil * solib-svr4.c (svr4_exec_displacement): Return now success, new diff --git a/gdb/configure b/gdb/configure index 1983d04f001..78c1c929fd9 100755 --- a/gdb/configure +++ b/gdb/configure @@ -6927,6 +6927,10 @@ do . ${srcdir}/configure.tgt + if test -z "${gdb_target_obs}"; then : + as_fn_error "configuration ${targ} is unsupported." "$LINENO" 5 +fi + # Target-specific object files for i in ${gdb_target_obs}; do case " $TARGET_OBS " in diff --git a/gdb/configure.ac b/gdb/configure.ac index 6f873b5839c..5be44fa6d4b 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -161,6 +161,9 @@ do . ${srcdir}/configure.tgt + AS_IF([test -z "${gdb_target_obs}"], + [AC_MSG_ERROR([configuration ${targ} is unsupported.])]) + # Target-specific object files for i in ${gdb_target_obs}; do case " $TARGET_OBS " in