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

Message ID 20240229083910.9991-7-yangtiezhu@loongson.cn
State New
Headers
Series gdb: Modify some code about syscalls XML |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_gdb_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_gdb_check--master-arm success Testing passed

Commit Message

Tiezhu Yang Feb. 29, 2024, 8:39 a.m. UTC
  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(+)
  

Patch

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