From 37b506d30a8e82df69b807f57ba09a2369265ea0 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Wed, 11 May 2022 09:46:23 +0200 Subject: [PATCH] [gdb/tdep] Update syscalls/{ppc64,ppc}-linux.xml Regenerate syscalls/{ppc64,ppc}-linux.xml on a system with 5.14 kernel. --- gdb/syscalls/ppc-linux.xml | 139 +++++++++++++++++++++- gdb/syscalls/ppc-linux.xml.in | 140 +++++++++++++++++++++- gdb/syscalls/ppc64-linux.xml | 140 ++++++++++++++++++++-- gdb/syscalls/ppc64-linux.xml.in | 141 +++++++++++++++++++++-- gdb/testsuite/gdb.base/catch-syscall.exp | 6 +- 5 files changed, 541 insertions(+), 25 deletions(-) diff --git a/gdb/syscalls/ppc-linux.xml b/gdb/syscalls/ppc-linux.xml index 328b889839a..34ba8bd4e49 100644 --- a/gdb/syscalls/ppc-linux.xml +++ b/gdb/syscalls/ppc-linux.xml @@ -6,8 +6,8 @@ are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> @@ -267,6 +267,7 @@ + @@ -291,6 +292,9 @@ + + + @@ -304,4 +308,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/syscalls/ppc-linux.xml.in b/gdb/syscalls/ppc-linux.xml.in index 0c1003e311b..61c7c585453 100644 --- a/gdb/syscalls/ppc-linux.xml.in +++ b/gdb/syscalls/ppc-linux.xml.in @@ -8,11 +8,12 @@ + @@ -270,6 +271,7 @@ + @@ -294,6 +296,9 @@ + + + @@ -307,4 +312,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/syscalls/ppc64-linux.xml b/gdb/syscalls/ppc64-linux.xml index 2e46cac0684..838f73bc25e 100644 --- a/gdb/syscalls/ppc64-linux.xml +++ b/gdb/syscalls/ppc64-linux.xml @@ -6,8 +6,8 @@ are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> @@ -258,6 +258,7 @@ + @@ -282,11 +283,132 @@ - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/syscalls/ppc64-linux.xml.in b/gdb/syscalls/ppc64-linux.xml.in index 2a96a8d34b8..4ed80e0a41b 100644 --- a/gdb/syscalls/ppc64-linux.xml.in +++ b/gdb/syscalls/ppc64-linux.xml.in @@ -8,11 +8,12 @@ + @@ -261,6 +262,7 @@ + @@ -285,11 +287,132 @@ - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp index be119786734..fed0e7b774c 100644 --- a/gdb/testsuite/gdb.base/catch-syscall.exp +++ b/gdb/testsuite/gdb.base/catch-syscall.exp @@ -621,9 +621,9 @@ proc test_catch_syscall_multi_arch {} { set arch1 "powerpc:common" set arch2 "powerpc:common64" - set syscall1_name "openat" - set syscall2_name "unlinkat" - set syscall_number 286 + set syscall1_name "fstatat64" + set syscall2_name "newfstatat" + set syscall_number 291 test_catch_syscall_multi_arch_1 $arch1 $arch2 $syscall1_name \ $syscall2_name $syscall_number -- 2.30.2