aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-01-04 23:47:13 +0000
committerDaniel Jacobowitz <drow@false.org>2003-01-04 23:47:13 +0000
commitb00a80374277fa498c6c38b79688e798f486219f (patch)
tree291a8fb672cc8ec8373d13f2c4fe609611753f7b /gdb/configure.in
parent4be87837a23001df36ca5a4171eb01dec22856e1 (diff)
downloadgdb-b00a80374277fa498c6c38b79688e798f486219f.zip
gdb-b00a80374277fa498c6c38b79688e798f486219f.tar.gz
gdb-b00a80374277fa498c6c38b79688e798f486219f.tar.bz2
* Makefile.in (acconfig_h): Remove incorrect macro.
(config_h): Define. (osabi.o): Update dependencies. * configure.tgt: Set gdb_osabi based on target triplet. * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. * configure: Regenerated. * config.in: Regenerated. * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". (GDB_OSABI_DEFAULT): Define if not already defined. (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) (set_osabi_string): New variables. (gdbarch_register_osabi): Add new OS ABI to gdb_osabi_available_names. (gdbarch_lookup_osabi): Honor specified and default OS ABIs. (set_osabi, show_osabi): New functions. (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 94cdef2..064ff4e 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -1223,6 +1223,11 @@ case "${GDB_MULTI_ARCH}" in
*) AC_MSG_ERROR("GDB: Unknown GDB_MULTI_ARCH value ${GDB_MULTI_ARCH}");;
esac
+if test x"${gdb_osabi}" != x ; then
+ AC_DEFINE_UNQUOTED(GDB_OSABI_DEFAULT, $gdb_osabi,
+ [Define to the default OS ABI for this configuration.])
+fi
+
# Enable multi-ice-gdb-server.
AC_ARG_ENABLE(multi-ice,
[ --enable-multi-ice build the multi-ice-gdb-server],