Re: [PATCH] Build strace for RISC-V

2016-08-19 Thread Richard W.M. Jones
On Fri, Aug 19, 2016 at 01:24:50PM +0300, Dmitry V. Levin wrote: > > diff --git a/linux/riscv/syscallent1.h b/linux/riscv/syscallent1.h > > new file mode 100644 > > index 000..78bc4c8 > > --- /dev/null > > +++ b/linux/riscv/syscallent1.h > > @@ -0,0 +1,274 @@ > > Likewise, with "32/syscallent.

Re: [PATCH] Build strace for RISC-V

2016-08-19 Thread Dmitry V. Levin
On Fri, Aug 19, 2016 at 10:19:13AM +0100, Richard W.M. Jones wrote: > The original port of strace was done by Palmer Dabbelt > (eecs.berkeley.edu), based on strace 4.9. > > I only modified it to work with upstream strace, and fixed a few > things. [...] > diff --git a/linux/riscv/ioctls_arch0.h b/

[PATCH] Build strace for RISC-V

2016-08-19 Thread Richard W.M. Jones
I should say first of all that a lot of the work on this patch was done by Palmer Dabbelt here: https://github.com/riscv/riscv-strace/commit/f320e1897832fd07a62e18ed288e75d8e79f4c5b What I did was: - rebase the work on upstream strace from git - fix a bunch of bugs - lightly test it. I've d