Lines Matching refs:regs
33 user_regs_struct regs; in main() local
34 res = ptrace(PTRACE_GETREGS, pid, NULL, ®s); in main()
36 if (regs.rip) in main()
37 printf("%zx\n", regs.rip); in main()
47 struct pt_regs regs; in main() local
48 res = ptrace((enum __ptrace_request)PTRACE_GETREGS, pid, NULL, ®s); in main()
51 if (regs.nip) in main()
52 printf("%lx\n", regs.nip); in main()
54 if (regs.cp0_epc) in main()
55 printf("%lx\n", regs.cp0_epc); in main()
57 if (regs.ARM_pc) in main()
58 printf("%lx\n", regs.ARM_pc); in main()
78 struct user_pt_regs regs; in main() local
79 regset_io.iov_base = ®s; in main()
80 regset_io.iov_len = sizeof(regs); in main()
83 if (regs.pc) in main()
84 printf("%llx\n", regs.pc); in main()
98 struct _user_regs_struct regs; in main() local
99 regset_io.iov_base = ®s; in main()
100 regset_io.iov_len = sizeof(regs); in main()
103 if (regs.psw.addr) in main()
104 printf("%lx\n", regs.psw.addr); in main()