This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch] Exit gdb/configure.tgt for unsupported targets
- From: Tom Tromey <tromey at redhat dot com>
- To: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- Cc: "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 24 Feb 2010 09:51:43 -0700
- Subject: Re: [Patch] Exit gdb/configure.tgt for unsupported targets
- References: <4B8505E9.3050600@rtems.org>
- Reply-to: tromey at redhat dot com
>>>>> "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