Fail gdb/configure if target is not supported.

* configure.ac: Exit if ${gdb_target_obs}" is not set.
        * configure: Regenerate.
This commit is contained in:
Joel Brobecker
2010-03-15 17:06:12 +00:00
parent b012e5bbc4
commit 3c501ea9f9
3 changed files with 12 additions and 0 deletions

View 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

4
gdb/configure vendored
View File

@@ -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

View 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