[binutils-gdb] gdb: syscalls: Add loongarch case in update-linux-from-src.sh

Tiezhu Yang yangtiezhu@sourceware.org
Wed Mar 20 10:51:48 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b369b90c0d881d6fe5033269019e0f487e53a8eb

commit b369b90c0d881d6fe5033269019e0f487e53a8eb
Author: Tiezhu Yang <yangtiezhu@loongson.cn>
Date:   Thu Feb 29 16:39:09 2024 +0800

    gdb: syscalls: Add loongarch case in update-linux-from-src.sh
    
    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>
    Approved-By: John Baldwin <jhb@FreeBSD.org>

Diff:
---
 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
 	    ;;


More information about the Gdb-cvs mailing list