[PATCH v1 6/7] gdb: syscalls: Add loongarch case in update-linux-from-src.sh

Tiezhu Yang yangtiezhu@loongson.cn
Thu Feb 29 08:39:09 GMT 2024


It shows that "Don't know how to generate loongarch-linux.xml.in"
when using the script update-linux-from-src.sh to regenerate the
syscall group info against Linux kernel, just add loongarch case.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
 gdb/syscalls/update-linux-from-src.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gdb/syscalls/update-linux-from-src.sh b/gdb/syscalls/update-linux-from-src.sh
index d816a3d5e4d..21c921af126 100755
--- a/gdb/syscalls/update-linux-from-src.sh
+++ b/gdb/syscalls/update-linux-from-src.sh
@@ -154,6 +154,10 @@ for f in *.in; do
 	    echo "Skipping $f, use arm-linux.py instead"
 	    continue
 	    ;;
+	loongarch-linux.xml.in)
+	    echo "Skipping $f, no syscall.tbl"
+	    continue
+	    ;;
 	linux-defaults.xml.in)
 	    continue
 	    ;;
-- 
2.42.0



More information about the Gdb-patches mailing list