[PATCH] m68k: fix sigreturn decoding

2015-03-12 Thread Andreas Schwab
* sigreturn.c (sys_sigreturn) [M68K]: Fetch the words of the signal mask from the proper place. --- sigreturn.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/sigreturn.c b/sigreturn.c index 648bd0a..a96257f 100644 --- a/sigreturn.c +++ b/sigreturn.c @@ -128,8

GSoC, strace (structured output)

2015-03-12 Thread Pavan Koli
Hello, I am Pavan Koli. I am interested in the project idea of getting structured strace output. I have some doubts, I've referred the mail archives(2014-15). I was not able to get the code of GSOC 2014 of the same project. My Questions- 1.Do I need to start from scratch? 2.If I need to start

[PATCH] tests/ipc_sem: match IPC_64 flag

2015-03-12 Thread Andreas Schwab
* ipc_sem.c (main): Optionally match IPC_64| in third arg of semctl. --- tests/ipc_sem.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/ipc_sem.c b/tests/ipc_sem.c index 180dc12..9a9cd20 100644 --- a/tests/ipc_sem.c +++ b/tests/ipc_sem.c @@ -26,13 +26,13 @@

Re: [PATCH] m68k: fix sigreturn decoding

2015-03-12 Thread Andreas Schwab
Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@public.gmane.org writes: On Wed, Mar 11, 2015 at 03:10:34PM +0100, Andreas Schwab wrote: * sigreturn.c (sys_sigreturn) [M68K]: Fetch the words of the signal mask from the proper place. --- sigreturn.c | 14 +- 1 file changed, 13

Re: [PATCH] tests/ipc_sem: verify that all patterns match

2015-03-12 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 11:09:47AM +0100, Andreas Schwab wrote: * ipc_sem.test: Count matches to verify that all patterns match. Thanks. Other tests that check patterns using grep -f (ipc_msg, ipc_shm, stat32-v, stat64-v) also need this fix. -- ldv pgpj10k8xJ89P.pgp Description: PGP

Re: [PATCH] Distribute linux/aarch64/arch_regs.h

2015-03-12 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 11:58:41AM +0100, Andreas Schwab wrote: * Makefile.am (EXTRA_DIST): Add linux/aarch64/arch_regs.h. Please commit. -- ldv pgpW0rgFTSSu0.pgp Description: PGP signature -- Dive into the World of

strace-4.10 cannot decode string

2015-03-12 Thread Justin Huang
Hi strace-developers, I ran the sample hello.c code on strace 4.5.8 and 4.10. Version 4.5.8 can show the text print hello world with write() in log while 4.10 only show some number which may be the address. Strace run command: strace -o strace.log hello.exe Can someone help check this

Re: [PATCH] aarch64: properly decode generic syscalls

2015-03-12 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 04:20:01PM +0100, Andreas Schwab wrote: * linux/aarch64/syscallent1.h: Don't override entries 277 to 1023. OK --- a/linux/aarch64/syscallent1.h +++ b/linux/aarch64/syscallent1.h @@ -3,9 +3,6 @@ /* Arch-specific block, not used on AArch64 */ [244 ... 259] = { },

[PATCH] aarch64: properly decode generic syscalls

2015-03-12 Thread Andreas Schwab
* linux/aarch64/syscallent1.h: Don't override entries 277 to 1023. --- linux/aarch64/syscallent1.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/linux/aarch64/syscallent1.h b/linux/aarch64/syscallent1.h index 4ec9665..a72bb7b 100644 --- a/linux/aarch64/syscallent1.h +++

FAIL: stat64-v.test

2015-03-12 Thread Andreas Schwab
The stat64-v test fails on aarch64 because it cannot cope with newfstatat yet. newfstatat(AT_FDCWD, stat64_sample, {st_dev=makedev(0, 40), st_ino=54269917, st_mode=S_IFREG|0644, st_nlink=1, st_uid=17005, st_gid=50, st_blksize=1048576, st_blocks=0, st_size=4611840,

Re: [PATCH] tests/select.test: handle architectures using pselect6 syscall

2015-03-12 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 04:48:36PM +0100, Andreas Schwab wrote: * tests/select.awk (BEGIN): Update regexps to match both select and pselect6 syscalls. * tests/select.test: Probe for both select and pselect6 syscall. OK for me. -- ldv pgpZMXXlsC2se.pgp Description: PGP signature

[PATCH] aarch64: fix ioctl decoding

2015-03-12 Thread Andreas Schwab
* linux/aarch64/ioctls_inc0.h: Rename from ioctls_inc1.h. * linux/aarch64/ioctls_inc1.h: Rename from ioctls_inc0.h. * linux/aarch64/ioctls_arch0.h: Rename from ioctls_arch1.h. * linux/aarch64/ioctls_arch1.h: Rename from ioctls_arch0.h. --- linux/aarch64/ioctls_arch0.h | 2 +-

Re: [PATCH] aarch64: fix ioctl decoding

2015-03-12 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 06:11:17PM +0100, Andreas Schwab wrote: * linux/aarch64/ioctls_inc0.h: Rename from ioctls_inc1.h. * linux/aarch64/ioctls_inc1.h: Rename from ioctls_inc0.h. * linux/aarch64/ioctls_arch0.h: Rename from ioctls_arch1.h. * linux/aarch64/ioctls_arch1.h: Rename from

Re: FAIL: stat64-v.test

2015-03-12 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 11:25:47AM +0100, Andreas Schwab wrote: stat64-v.test fails for tests-m32 on x86_64, because stat64 has unsigned int st_?time, but time_t is signed. I'm inclined to think that the test is right and the parser is wrong. Does this fix look OK? --- a/printstat.h +++

[PATCH] tests/select.test: handle architectures using pselect6 syscall

2015-03-12 Thread Andreas Schwab
* tests/select.awk (BEGIN): Update regexps to match both select and pselect6 syscalls. * tests/select.test: Probe for both select and pselect6 syscall. --- tests/select.awk | 6 +++--- tests/select.test | 7 +-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/select.awk

Re: [PATCH] tests/ipc_sem: don't match address of sem buffer

2015-03-12 Thread Andreas Schwab
Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@public.gmane.org writes: On Wed, Mar 11, 2015 at 01:07:15PM +0100, Andreas Schwab wrote: On architectures where the semctl call is implemented by the ipc syscall the glibc wrapper passes a pointer to a local variable, so the value of the fourth

Re: [PATCH] tests/ipc_sem: don't match address of sem buffer

2015-03-12 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 11:13:49AM +0100, Andreas Schwab wrote: Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@public.gmane.org writes: On Wed, Mar 11, 2015 at 01:07:15PM +0100, Andreas Schwab wrote: On architectures where the semctl call is implemented by the ipc syscall the glibc wrapper

Re: [PATCH] m68k: fix sigreturn decoding

2015-03-12 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 11:13:22AM +0100, Andreas Schwab wrote: Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@public.gmane.org writes: On Wed, Mar 11, 2015 at 03:10:34PM +0100, Andreas Schwab wrote: * sigreturn.c (sys_sigreturn) [M68K]: Fetch the words of the signal mask from the proper place.

Re: [PATCH] tests/ipc_sem: match IPC_64 flag

2015-03-12 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 11:07:18AM +0100, Andreas Schwab wrote: * ipc_sem.c (main): Optionally match IPC_64| in third arg of semctl. Thanks. The same fix should be applied to other two ipc_???.c files. -- ldv pgpohAa9jjGNv.pgp Description: PGP signature

[PATCH] tests/ipc_sem: verify that all patterns match

2015-03-12 Thread Andreas Schwab
* ipc_sem.test: Count matches to verify that all patterns match. --- tests/ipc_sem.test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/ipc_sem.test b/tests/ipc_sem.test index b8fa545..ef957c3 100755 --- a/tests/ipc_sem.test +++ b/tests/ipc_sem.test @@ -18,7 +18,9 @@

FAIL: stat64-v.test

2015-03-12 Thread Andreas Schwab
stat64-v.test fails for tests-m32 on x86_64, because stat64 has unsigned int st_?time, but time_t is signed. stat64(stat64_sample, {st_dev=makedev(8, 3), st_ino=54425624, st_mode=S_IFREG|0644, st_nlink=1, st_uid=17005, st_gid=50, st_blksize=4096, st_blocks=0, st_size=4611840,

[PATCH] Distribute linux/aarch64/arch_regs.h

2015-03-12 Thread Andreas Schwab
* Makefile.am (EXTRA_DIST): Add linux/aarch64/arch_regs.h. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 2030f9b..48fe1d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -164,6 +164,7 @@ EXTRA_DIST =\