aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.host
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2022-02-11 20:17:56 +0800
committerTiezhu Yang <yangtiezhu@loongson.cn>2022-02-11 20:17:56 +0800
commitd203a0647fc73cad89307c37ae060b45aa28eab4 (patch)
tree295343d40a360fcea7a240b23d7923abf0d99bf0 /gdb/configure.host
parenta8c39d4c00d785febec3e340e6653611ce43329a (diff)
downloadgdb-d203a0647fc73cad89307c37ae060b45aa28eab4.zip
gdb-d203a0647fc73cad89307c37ae060b45aa28eab4.tar.gz
gdb-d203a0647fc73cad89307c37ae060b45aa28eab4.tar.bz2
gdb: LoongArch: Add Makefile, configure and NEWS
This commit adds Makefile, configure and NEWS for LoongArch. Signed-off-by: Zhensong Liu <liuzhensong@loongson.cn> Signed-off-by: Qing zhang <zhangqing@loongson.cn> Signed-off-by: Youling Tang <tangyouling@loongson.cn> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Diffstat (limited to 'gdb/configure.host')
-rw-r--r--gdb/configure.host3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/configure.host b/gdb/configure.host
index be40cc8..da71675 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -58,6 +58,7 @@ arc*) gdb_host_cpu=arc ;;
arm*) gdb_host_cpu=arm ;;
hppa*) gdb_host_cpu=pa ;;
i[34567]86*) gdb_host_cpu=i386 ;;
+loongarch*) gdb_host_cpu=loongarch ;;
m68*) gdb_host_cpu=m68k ;;
mips*) gdb_host_cpu=mips ;;
powerpc* | rs6000) gdb_host_cpu=powerpc ;;
@@ -117,6 +118,8 @@ i[34567]86-*-cygwin*) gdb_host=cygwin ;;
ia64-*-linux*) gdb_host=linux ;;
+loongarch*-linux*) gdb_host=linux ;;
+
m68*-*-linux*) gdb_host=linux ;;
m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
gdb_host=nbsdelf ;;