]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fail gdb/configure if target is not supported.
authorJoel Brobecker <brobecker@gnat.com>
Mon, 15 Mar 2010 17:06:12 +0000 (17:06 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 15 Mar 2010 17:06:12 +0000 (17:06 +0000)
        * configure.ac: Exit if ${gdb_target_obs}" is not set.
        * configure: Regenerate.

gdb/ChangeLog
gdb/configure
gdb/configure.ac

index 644f7c6effeeebc159e5f1d5081d5669f2bdb926..b401bfe3d2386f3afed5f190084141ab0c14e652 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-15  Ralf Corsepius  <ralf.corsepius@rtems.org>
+
+       * configure.ac: Exit if ${gdb_target_obs}" is not set.
+       * configure: Regenerate.
+
 2010-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * solib-svr4.c (svr4_exec_displacement): Return now success, new
index 1983d04f0015c787406fe5ae3bfad631893b81be..78c1c929fd90dea541ad9631e281448db4b784d6 100755 (executable)
@@ -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
index 6f873b5839cb1b7a006279fe9fb261177bdd5cde..5be44fa6d4b1b848b16d96815a5d0de0fa87853d 100644 (file)
@@ -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