On Mon, Dec 14, 2015 at 04:46:49PM -0500, Mike Frysinger wrote: > On 15 Dec 2015 00:24, Dmitry V. Levin wrote: > > On Mon, Dec 14, 2015 at 03:45:40PM -0500, Mike Frysinger wrote: > > [...] > > > the older version of gawk used seems to be unhappy with the script. > > > when i run the command manually: > > > $ gawk -v VAR_NAME=mpers_target_var -v ARCH_FLAG=m32 -f ./mpers.awk > > > mpers-m32/kernel_dirent.d2 > > > #include <inttypes.h> > > > typedef > > > Killed > > [...] > > > this is gawk-4.0.1, so i suspect you should be able to reproduce by > > > installing > > > that version locally. i'm attaching the mpers-m32/kernel_dirent.d2 in > > > case it > > > helps. > > > > It's not the version of gawk but contents of mpers-m32/kernel_dirent.d2 > > that makes the script go into infinite recursion. Looks like .d2 is wrong. > > Could you attach mpers-m32/kernel_dirent.d1 file, please? > > done.
This is another mpers-m32/kernel_dirent.d1 file. Broken mpers-m32/kernel_dirent.d2 mentions .debug_types section, so it has to be in the .d1 file as well. > we probably should add a sanity check to the gawk script so > it asserts rather than OOMs. Sure. -- ldv
pgpBRh0rbo1IN.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel