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()
495 run_tests(pid_t child_pid, struct ppc_debug_info *dbginfo, bool dawr) in run_tests() argument
501 if (dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_RANGE) { in run_tests()
514 struct ppc_debug_info dbginfo; in ptrace_hwbreak() local
525 get_dbginfo(child_pid, &dbginfo); in ptrace_hwbreak()
526 SKIP_IF(dbginfo.num_data_bps == 0); in ptrace_hwbreak()
528 dawr = dawr_present(&dbginfo); in ptrace_hwbreak()
529 run_tests(child_pid, &dbginfo, dawr); in ptrace_hwbreak()