[Patch] Exit gdb/configure.tgt for unsupported targets

Tom Tromey tromey@redhat.com
Wed Feb 24 16:51:00 GMT 2010


>>>>> "Ralf" == Ralf Corsepius <ralf.corsepius@rtems.org> writes:

Ralf> 2010-02-23	Ralf Corsépius <ralf.corsepius@rtems.org>
Ralf> 	* configure.tgt: Exit if ${gdb_target_obs}" is not set.

Ralf> +if test -z "${gdb_target_obs}"; then
Ralf> +    echo "*** Configuration ${targ} is unsupported." >&2
Ralf> +    exit 1
Ralf> +fi

I think it would be better to do the test in configure.ac and use
AC_MSG_ERROR.

Tom



More information about the Gdb-patches mailing list