2 #include <user-offsets.h>
4 int main(int argc
, char **argv
)
7 printf(" * Generated by mk_user_constants\n");
10 printf("#ifndef __UM_USER_CONSTANTS_H\n");
11 printf("#define __UM_USER_CONSTANTS_H\n");
13 /* I'd like to use FRAME_SIZE from ptrace.h here, but that's wrong on
14 * x86_64 (216 vs 168 bytes). user_regs_struct is the correct size on
15 * both x86_64 and i386.
17 printf("#define UM_FRAME_SIZE %d\n", __UM_FRAME_SIZE
);