Re: [PATCH 2/6] Generate arch_includes.h and arch_personalities.h

2017-11-08 Thread Dmitry V. Levin
On Thu, Nov 09, 2017 at 01:06:49AM +0300, Edgar Kaziakhmedov wrote: > On 11/09/2017 12:12 AM, Dmitry V. Levin wrote: > > On Wed, Nov 08, 2017 at 04:44:45PM +0300, Edgar Kaziakhmedov wrote: > >> Since arch_definitions.h contains full description about architectures, > >> arch_includes.h and arch_per

Re: [PATCH 2/6] Generate arch_includes.h and arch_personalities.h

2017-11-08 Thread Dmitry V. Levin
On Wed, Nov 08, 2017 at 04:44:45PM +0300, Edgar Kaziakhmedov wrote: > Since arch_definitions.h contains full description about architectures, > arch_includes.h and arch_personalities.h can be generated. > > * tools/asinfo/gen_asinfo_files.sh: New file. > * bootstrap: Add it. > * tools/asinfo/arch_

[PATCH 2/6] Generate arch_includes.h and arch_personalities.h

2017-11-08 Thread Edgar Kaziakhmedov
Since arch_definitions.h contains full description about architectures, arch_includes.h and arch_personalities.h can be generated. * tools/asinfo/gen_asinfo_files.sh: New file. * bootstrap: Add it. * tools/asinfo/arch_includes.h: Delete it. * tools/asinfo/arch_personalities.h: Likewise. * tools/as

[PATCH 5/6] Update NEWS

2017-11-08 Thread Edgar Kaziakhmedov
Signed-off-by: Edgar Kaziakhmedov --- NEWS | 4 1 file changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 79b655ba..d19a40ae 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,10 @@ Noteworthy changes in release ?.?? (-??-??) * Bug fixes * Fixed powerpc personality support on powerpc64.

[PATCH 4/6] Add asinfo to build strace deb/rpm packages

2017-11-08 Thread Edgar Kaziakhmedov
As asinfo detects ABI mode based on userspace environment in biarch systems, add asinfo only to strace package. * debian/control (strace, strace-udeb): Add asinfo decription. * debian/strace.install: Add path to asinfo binary. * debian/strace.manpages: Add path to asinfo man. * strace.spec.in (%fi

[PATCH 3/6] asinfo: add man page

2017-11-08 Thread Edgar Kaziakhmedov
* configure.ac (AC_CONFIG_FILES): Add asinfo.1. (asinfo_manpage_date): New m4 define. (ASINFO_MANPAGE_DATE): New define/subst. * tools/asinfo/asinfo.1.in: New file. * tools/asinfo/gen_asinfo_files.sh: Add asinfo.1 to .gitignore generation. Signed-off-by: Edgar Kaziakhmedov --- configure.ac

[PATCH 6/6] tests: introduce tests to asinfo tool

2017-11-08 Thread Edgar Kaziakhmedov
This set of tests cover all possible cases in asinfo tool. However, as asinfo uses some libraries provided by strace (such as basic_filters) there is no need to test them again in asinfo context. Also, the set of syscalls for specific architecture (hence, its number) might be expanded in the future

[PATCH 1/6] asinfo: Introduce static query tool asinfo

2017-11-08 Thread Edgar Kaziakhmedov
The main purpose of this query tool is to present all information concluded at sysent.h files in a convenient way. The asinfo tool has the following staged architecture: (command dispatcher)->(architecture dispatcher)-> (abi dispatcher)->(system call dispatcher). Each dispatcher accepts proccesed d

[PATCH v11 0/6] Introduce asinfo tool

2017-11-08 Thread Edgar Kaziakhmedov
This is going to be the last and full patchset to introduce asinfo tool. Changelog: v11 * Add tests * Fix issues in dispatcher.c file. v10 * Add asinfo binary to deb/rpm build. * Add '--raw' parameter to print out without formating. * Update MAN page and usage. * Fix issues and typos. v9 * Add