Searched refs:user_core (Results 1 – 7 of 7) sorted by relevance
61 if (dwfl->user_core != NULL) in dwfl_end()63 free (dwfl->user_core->executable_for_core); in dwfl_end()64 elf_end (dwfl->user_core->core); in dwfl_end()65 if (dwfl->user_core->fd != -1) in dwfl_end()66 close (dwfl->user_core->fd); in dwfl_end()67 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()466 dwfl->user_core = calloc (1, sizeof (struct Dwfl_User_Core)); in dwfl_core_file_report()467 if (dwfl->user_core == NULL) in dwfl_core_file_report()472 dwfl->user_core->fd = -1; in dwfl_core_file_report()474 dwfl->user_core->executable_for_core = strdup (executable); in dwfl_core_file_report()475 if (dwfl->user_core->executable_for_core == NULL) in dwfl_core_file_report()[all …]
311 if (dwfl->user_core == NULL) in parse_opt()313 dwfl->user_core = calloc (1, sizeof (struct Dwfl_User_Core)); in parse_opt()314 if (dwfl->user_core == NULL) in parse_opt()321 dwfl->user_core->core = core; in parse_opt()322 dwfl->user_core->fd = fd; in parse_opt()
152 && mod->dwfl->user_core != NULL in dwfl_build_id_find_elf()153 && mod->dwfl->user_core->executable_for_core != NULL) in dwfl_build_id_find_elf()159 const char *executable = mod->dwfl->user_core->executable_for_core; in dwfl_build_id_find_elf()
384 && dwfl->user_core != NULL in report_r_debug()385 && dwfl->user_core->executable_for_core != NULL) in report_r_debug()386 name = dwfl->user_core->executable_for_core; in report_r_debug()803 && dwfl->user_core != NULL in dwfl_link_map_report()804 && dwfl->user_core->executable_for_core != NULL) in dwfl_link_map_report()812 int fd = open (dwfl->user_core->executable_for_core, O_RDONLY); in dwfl_link_map_report()
139 struct Dwfl_User_Core *user_core; member
196 new bool cleanup_user_core and cleanup dwfl->user_core in error658 (struct DWfl): Replace executable_for_core with user_core.659 * argp-std.c (parse_opt): Store core and fd in Dwfl user_core.661 executable_for_core in Dwfl user_core.663 executable_for_core in Dwfl user_core.664 * dwfl_end.c (dwfl_end): Release resources held in Dwfl user_core.666 user_core.