diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-01-04 23:47:13 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-01-04 23:47:13 +0000 |
commit | b00a80374277fa498c6c38b79688e798f486219f (patch) | |
tree | 291a8fb672cc8ec8373d13f2c4fe609611753f7b /gdb/configure.tgt | |
parent | 4be87837a23001df36ca5a4171eb01dec22856e1 (diff) | |
download | gdb-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.tgt')
-rw-r--r-- | gdb/configure.tgt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index ed213dc..76b9b12 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -281,3 +281,10 @@ v850) gdb_multi_arch=yes ;; xstormy16) gdb_multi_arch=yes ;; mcore) gdb_multi_arch=yes ;; esac + +# map target onto default OS ABI + +case "${target}" in +*-*-linux*) gdb_osabi=GDB_OSABI_LINUX ;; +*-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;; +esac |