Lines Matching refs:dbginfo
52 static void get_dbginfo(pid_t child_pid, struct ppc_debug_info *dbginfo) in get_dbginfo() argument
54 if (ptrace(PPC_PTRACE_GETHWDBGINFO, child_pid, NULL, dbginfo)) { in get_dbginfo()
60 static bool dawr_present(struct ppc_debug_info *dbginfo) in dawr_present() argument
62 return !!(dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_DAWR); in dawr_present()
571 run_tests(pid_t child_pid, struct ppc_debug_info *dbginfo, bool dawr) in run_tests() argument
577 if (dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_RANGE) { in run_tests()
583 if (dbginfo->num_data_bps > 1) { in run_tests()
594 struct ppc_debug_info dbginfo; in ptrace_hwbreak() local
605 get_dbginfo(child_pid, &dbginfo); in ptrace_hwbreak()
606 SKIP_IF(dbginfo.num_data_bps == 0); in ptrace_hwbreak()
608 dawr = dawr_present(&dbginfo); in ptrace_hwbreak()
609 run_tests(child_pid, &dbginfo, dawr); in ptrace_hwbreak()