aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt7
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