Lines Matching refs:dbginfo
51 static void get_dbginfo(pid_t child_pid, struct ppc_debug_info *dbginfo) in get_dbginfo() argument
53 if (ptrace(PPC_PTRACE_GETHWDBGINFO, child_pid, NULL, dbginfo)) { in get_dbginfo()
59 static bool dawr_present(struct ppc_debug_info *dbginfo) in dawr_present() argument
61 return !!(dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_DAWR); in dawr_present()
570 run_tests(pid_t child_pid, struct ppc_debug_info *dbginfo, bool dawr) in run_tests() argument
576 if (dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_RANGE) { in run_tests()
582 if (dbginfo->num_data_bps > 1) { in run_tests()
593 struct ppc_debug_info dbginfo; in ptrace_hwbreak() local
604 get_dbginfo(child_pid, &dbginfo); in ptrace_hwbreak()
605 SKIP_IF(dbginfo.num_data_bps == 0); in ptrace_hwbreak()
607 dawr = dawr_present(&dbginfo); in ptrace_hwbreak()
608 run_tests(child_pid, &dbginfo, dawr); in ptrace_hwbreak()