Searched refs:user_core (Results 1 – 7 of 7) sorted by relevance
53 if (dwfl->user_core != NULL) in dwfl_end()55 free (dwfl->user_core->executable_for_core); in dwfl_end()56 elf_end (dwfl->user_core->core); in dwfl_end()57 if (dwfl->user_core->fd != -1) in dwfl_end()58 close (dwfl->user_core->fd); in dwfl_end()59 free (dwfl->user_core); in dwfl_end()
454 if (dwfl->user_core != NULL) in dwfl_core_file_report()455 free (dwfl->user_core->executable_for_core); in dwfl_core_file_report()458 if (dwfl->user_core != NULL) in dwfl_core_file_report()459 dwfl->user_core->executable_for_core = NULL; in dwfl_core_file_report()463 if (dwfl->user_core == NULL) in dwfl_core_file_report()465 dwfl->user_core = calloc (1, sizeof (struct Dwfl_User_Core)); in dwfl_core_file_report()466 if (dwfl->user_core == NULL) in dwfl_core_file_report()471 dwfl->user_core->fd = -1; in dwfl_core_file_report()473 dwfl->user_core->executable_for_core = strdup (executable); in dwfl_core_file_report()474 if (dwfl->user_core->executable_for_core == NULL) in dwfl_core_file_report()
307 if (dwfl->user_core == NULL) in parse_opt()309 dwfl->user_core = calloc (1, sizeof (struct Dwfl_User_Core)); in parse_opt()310 if (dwfl->user_core == NULL) in parse_opt()317 dwfl->user_core->core = core; in parse_opt()318 dwfl->user_core->fd = fd; in parse_opt()
144 && mod->dwfl->user_core != NULL in dwfl_build_id_find_elf()145 && mod->dwfl->user_core->executable_for_core != NULL) in dwfl_build_id_find_elf()151 const char *executable = mod->dwfl->user_core->executable_for_core; in dwfl_build_id_find_elf()
366 && dwfl->user_core != NULL in report_r_debug()367 && dwfl->user_core->executable_for_core != NULL) in report_r_debug()368 name = dwfl->user_core->executable_for_core; in report_r_debug()802 && dwfl->user_core != NULL in dwfl_link_map_report()803 && dwfl->user_core->executable_for_core != NULL) in dwfl_link_map_report()811 int fd = open (dwfl->user_core->executable_for_core, O_RDONLY); in dwfl_link_map_report()
143 struct Dwfl_User_Core *user_core; member
52 (struct DWfl): Replace executable_for_core with user_core.53 * argp-std.c (parse_opt): Store core and fd in Dwfl user_core.55 executable_for_core in Dwfl user_core.57 executable_for_core in Dwfl user_core.58 * dwfl_end.c (dwfl_end): Release resources held in Dwfl user_core.60 user_core.