[PATCH][PATCH] Update syscalls/{ppc64,ppc}-linux.xml

Carl Love cel@us.ibm.com
Tue May 10 18:32:18 GMT 2022


Tom:

On Tue, 2022-05-10 at 11:01 +0200, Tom de Vries via Gdb-patches wrote:
> On 5/9/22 17:48, Tom de Vries wrote:
> > Hi,
> > 
> > Regenerate syscalls/{ppc64,ppc}-linux.xml on a system with 5.14
> > kernel.
> > 
> > Note btw that it does not only add, but also renumbers, f.i.:
> > ...
> > -  <syscall name="unlinkat" number="286"/>
> > +  <syscall name="unlinkat" number="292"/>
> > ...
> > 
> > Currently testing.
> > 
> 
> Here's a v2, with a gdb.base/catch-syscall.exp test-case fix
> included.
> 
> Testing on ppc64le revealed:
> ...
> (gdb) catch syscall 286^M
> Catchpoint 2 (syscall 'openat' [286])^M
> (gdb) FAIL: gdb.base/catch-syscall.exp: multiple targets: insert
> catch 
> syscall on syscall 286\
>   -- unlinkat on powerpc:common64
> ...
> 
> FWIW, I've wrote a patch that exposes the same problem on x86_64-
> linux (
> https://sourceware.org/pipermail/gdb-patches/2022-May/188881.html  ).
> 
> Any comments?

I have looked at the patch.  I don't see anything that is an
issue/problem on PowerPC.  

                     Carl Love



More information about the Gdb-patches mailing list