Home
last modified time | relevance | path

Searched refs:exec_bfd (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/netbsd/external/gpl3/binutils/dist/bfd/
H A Dcorefile.c124 core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in core_file_matches_executable_p() argument
126 if (core_bfd->format != bfd_core || exec_bfd->format != bfd_object) in core_file_matches_executable_p()
133 (core_bfd, exec_bfd)); in core_file_matches_executable_p()
158 generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in generic_core_file_matches_executable_p() argument
164 if (exec_bfd == NULL || core_bfd == NULL) in generic_core_file_matches_executable_p()
176 exec = bfd_get_filename (exec_bfd); in generic_core_file_matches_executable_p()
H A Delfcore.h40 elf_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in elf_core_file_matches_executable_p() argument
46 if (core_bfd->xvec != exec_bfd->xvec) in elf_core_file_matches_executable_p()
54 && exec_bfd->build_id != NULL in elf_core_file_matches_executable_p()
55 && core_bfd->build_id->size == exec_bfd->build_id->size in elf_core_file_matches_executable_p()
56 && memcmp (core_bfd->build_id->data, exec_bfd->build_id->data, in elf_core_file_matches_executable_p()
64 const char* execname = strrchr (bfd_get_filename (exec_bfd), '/'); in elf_core_file_matches_executable_p()
66 execname = execname ? execname + 1 : bfd_get_filename (exec_bfd); in elf_core_file_matches_executable_p()
H A Daix5ppc-core.c242 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
291 str2 = strrchr (bfd_get_filename (exec_bfd), '/'); in xcoff64_core_file_matches_executable_p()
295 str2 = str2 != NULL ? str2 + 1 : bfd_get_filename (exec_bfd); in xcoff64_core_file_matches_executable_p()
339 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
341 return generic_core_file_matches_executable_p (core_bfd, exec_bfd); in xcoff64_core_file_matches_executable_p()
/netbsd/external/gpl3/gdb/dist/bfd/
H A Dcorefile.c124 core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in core_file_matches_executable_p() argument
126 if (core_bfd->format != bfd_core || exec_bfd->format != bfd_object) in core_file_matches_executable_p()
133 (core_bfd, exec_bfd)); in core_file_matches_executable_p()
158 generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in generic_core_file_matches_executable_p() argument
164 if (exec_bfd == NULL || core_bfd == NULL) in generic_core_file_matches_executable_p()
176 exec = bfd_get_filename (exec_bfd); in generic_core_file_matches_executable_p()
H A Delfcore.h40 elf_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in elf_core_file_matches_executable_p() argument
46 if (core_bfd->xvec != exec_bfd->xvec) in elf_core_file_matches_executable_p()
54 && exec_bfd->build_id != NULL in elf_core_file_matches_executable_p()
55 && core_bfd->build_id->size == exec_bfd->build_id->size in elf_core_file_matches_executable_p()
56 && memcmp (core_bfd->build_id->data, exec_bfd->build_id->data, in elf_core_file_matches_executable_p()
64 const char* execname = strrchr (bfd_get_filename (exec_bfd), '/'); in elf_core_file_matches_executable_p()
66 execname = execname ? execname + 1 : bfd_get_filename (exec_bfd); in elf_core_file_matches_executable_p()
H A Daix5ppc-core.c242 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
291 str2 = strrchr (bfd_get_filename (exec_bfd), '/'); in xcoff64_core_file_matches_executable_p()
295 str2 = str2 != NULL ? str2 + 1 : bfd_get_filename (exec_bfd); in xcoff64_core_file_matches_executable_p()
339 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
341 return generic_core_file_matches_executable_p (core_bfd, exec_bfd); in xcoff64_core_file_matches_executable_p()
/netbsd/external/gpl3/binutils.old/dist/bfd/
H A Dcorefile.c124 core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in core_file_matches_executable_p() argument
126 if (core_bfd->format != bfd_core || exec_bfd->format != bfd_object) in core_file_matches_executable_p()
133 (core_bfd, exec_bfd)); in core_file_matches_executable_p()
158 generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in generic_core_file_matches_executable_p() argument
164 if (exec_bfd == NULL || core_bfd == NULL) in generic_core_file_matches_executable_p()
176 exec = bfd_get_filename (exec_bfd); in generic_core_file_matches_executable_p()
H A Delfcore.h40 elf_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in elf_core_file_matches_executable_p() argument
46 if (core_bfd->xvec != exec_bfd->xvec) in elf_core_file_matches_executable_p()
54 && exec_bfd->build_id != NULL in elf_core_file_matches_executable_p()
55 && core_bfd->build_id->size == exec_bfd->build_id->size in elf_core_file_matches_executable_p()
56 && memcmp (core_bfd->build_id->data, exec_bfd->build_id->data, in elf_core_file_matches_executable_p()
64 const char* execname = strrchr (exec_bfd->filename, '/'); in elf_core_file_matches_executable_p()
66 execname = execname ? execname + 1 : exec_bfd->filename; in elf_core_file_matches_executable_p()
H A Daix5ppc-core.c243 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
292 str2 = strrchr (exec_bfd->filename, '/'); in xcoff64_core_file_matches_executable_p()
296 str2 = str2 != NULL ? str2 + 1 : exec_bfd->filename; in xcoff64_core_file_matches_executable_p()
340 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
342 return generic_core_file_matches_executable_p (core_bfd, exec_bfd); in xcoff64_core_file_matches_executable_p()
/netbsd/external/gpl3/gdb.old/dist/bfd/
H A Dcorefile.c124 core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in core_file_matches_executable_p() argument
126 if (core_bfd->format != bfd_core || exec_bfd->format != bfd_object) in core_file_matches_executable_p()
133 (core_bfd, exec_bfd)); in core_file_matches_executable_p()
158 generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in generic_core_file_matches_executable_p() argument
164 if (exec_bfd == NULL || core_bfd == NULL) in generic_core_file_matches_executable_p()
176 exec = bfd_get_filename (exec_bfd); in generic_core_file_matches_executable_p()
H A Delfcore.h40 elf_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in elf_core_file_matches_executable_p() argument
46 if (core_bfd->xvec != exec_bfd->xvec) in elf_core_file_matches_executable_p()
54 && exec_bfd->build_id != NULL in elf_core_file_matches_executable_p()
55 && core_bfd->build_id->size == exec_bfd->build_id->size in elf_core_file_matches_executable_p()
56 && memcmp (core_bfd->build_id->data, exec_bfd->build_id->data, in elf_core_file_matches_executable_p()
64 const char* execname = strrchr (bfd_get_filename (exec_bfd), '/'); in elf_core_file_matches_executable_p()
66 execname = execname ? execname + 1 : bfd_get_filename (exec_bfd); in elf_core_file_matches_executable_p()
H A Daix5ppc-core.c242 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
291 str2 = strrchr (bfd_get_filename (exec_bfd), '/'); in xcoff64_core_file_matches_executable_p()
295 str2 = str2 != NULL ? str2 + 1 : bfd_get_filename (exec_bfd); in xcoff64_core_file_matches_executable_p()
339 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
341 return generic_core_file_matches_executable_p (core_bfd, exec_bfd); in xcoff64_core_file_matches_executable_p()
/netbsd/external/gpl3/gdb/dist/gdb/
H A Dexec.c157 if (exec_bfd) in exec_close()
159 bfd *abfd = exec_bfd; in exec_close()
165 exec_bfd = NULL; in exec_close()
168 remove_target_sections (&exec_bfd); in exec_close()
479 exec_bfd = temp.release (); in exec_file_attach()
481 if (!exec_bfd) in exec_file_attach()
516 exec_bfd_mtime = bfd_get_mtime (exec_bfd); in exec_file_attach()
520 set_gdbarch_from_file (exec_bfd); in exec_file_attach()
836 if (exec_bfd != NULL) in exec_read_partial_read_only()
1066 if (abfd == exec_bfd) in print_section_info()
[all …]
H A Dsolib-svr4.c592 if (exec_bfd
833 if (scan_dyntag (DT_DEBUG, exec_bfd, &dyn_ptr, NULL)
1436 if (exec_bfd && bfd_get_section_by_name (exec_bfd, ".dynamic") == NULL)
2601 if (exec_bfd == NULL)
2608 if ((bfd_get_file_flags (exec_bfd) & DYNAMIC) == 0)
2619 if (bfd_get_flavour (exec_bfd) == bfd_target_elf_flavour)
2647 = read_program_headers_from_bfd (exec_bfd);
2666 || bfd_get_arch_size (exec_bfd) != arch_size)
2951 bfd_get_filename (exec_bfd));
3006 else if (exec_bfd)
[all …]
H A Dproc-service.c45 if (exec_bfd && bfd_get_sign_extend_vma (exec_bfd)) in ps_addr_to_core_addr()
56 if (exec_bfd && bfd_get_sign_extend_vma (exec_bfd)) in core_addr_to_ps_addr()
H A Dgcore.c179 if (exec_bfd == NULL) in default_gcore_mach()
182 return bfd_get_mach (exec_bfd); in default_gcore_mach()
193 if (exec_bfd == NULL) in default_gcore_arch()
196 return bfd_get_arch (exec_bfd); in default_gcore_arch()
208 if (exec_bfd == NULL) in default_gcore_target()
211 return bfd_get_target (exec_bfd); in default_gcore_target()
522 if (derive_heap_segment (exec_bfd, &temp_bottom, &temp_top)) in objfile_find_memory_regions()
H A Dsymfile-mem.c148 templ = exec_bfd; in add_symbol_file_from_memory_command()
170 else if (exec_bfd != NULL) in add_vsyscall_page()
171 bfd = exec_bfd; in add_vsyscall_page()
H A Dcorefile.c111 if (exec_bfd == NULL) in reopen_exec_file()
115 std::string filename = bfd_get_filename (exec_bfd); in reopen_exec_file()
133 if (exec_bfd && core_bfd) in validate_files()
135 if (!core_file_matches_executable_p (core_bfd, exec_bfd)) in validate_files()
137 else if (bfd_get_mtime (exec_bfd) > bfd_get_mtime (core_bfd)) in validate_files()
/netbsd/external/gpl3/gdb.old/dist/gdb/
H A Dexec.c157 if (exec_bfd) in exec_close()
159 bfd *abfd = exec_bfd; in exec_close()
165 exec_bfd = NULL; in exec_close()
168 remove_target_sections (&exec_bfd); in exec_close()
479 exec_bfd = temp.release (); in exec_file_attach()
481 if (!exec_bfd) in exec_file_attach()
516 exec_bfd_mtime = bfd_get_mtime (exec_bfd); in exec_file_attach()
520 set_gdbarch_from_file (exec_bfd); in exec_file_attach()
836 if (exec_bfd != NULL) in exec_read_partial_read_only()
1066 if (abfd == exec_bfd) in print_section_info()
[all …]
H A Dsolib-svr4.c592 if (exec_bfd
833 if (scan_dyntag (DT_DEBUG, exec_bfd, &dyn_ptr, NULL)
1436 if (exec_bfd && bfd_get_section_by_name (exec_bfd, ".dynamic") == NULL)
2601 if (exec_bfd == NULL)
2608 if ((bfd_get_file_flags (exec_bfd) & DYNAMIC) == 0)
2619 if (bfd_get_flavour (exec_bfd) == bfd_target_elf_flavour)
2647 = read_program_headers_from_bfd (exec_bfd);
2666 || bfd_get_arch_size (exec_bfd) != arch_size)
2951 bfd_get_filename (exec_bfd));
3006 else if (exec_bfd)
[all …]
H A Dproc-service.c45 if (exec_bfd && bfd_get_sign_extend_vma (exec_bfd)) in ps_addr_to_core_addr()
56 if (exec_bfd && bfd_get_sign_extend_vma (exec_bfd)) in core_addr_to_ps_addr()
H A Dgcore.c179 if (exec_bfd == NULL) in default_gcore_mach()
182 return bfd_get_mach (exec_bfd); in default_gcore_mach()
193 if (exec_bfd == NULL) in default_gcore_arch()
196 return bfd_get_arch (exec_bfd); in default_gcore_arch()
208 if (exec_bfd == NULL) in default_gcore_target()
211 return bfd_get_target (exec_bfd); in default_gcore_target()
522 if (derive_heap_segment (exec_bfd, &temp_bottom, &temp_top)) in objfile_find_memory_regions()
H A Dsymfile-mem.c148 templ = exec_bfd; in add_symbol_file_from_memory_command()
170 else if (exec_bfd != NULL) in add_vsyscall_page()
171 bfd = exec_bfd; in add_vsyscall_page()
/netbsd/external/gpl3/binutils.old/dist/bfd/doc/
H A Dcore.texi45 (bfd *core_bfd, bfd *exec_bfd);
50 @var{exec_bfd}, @code{FALSE} otherwise.
57 (bfd *core_bfd, bfd *exec_bfd);
62 to @var{exec_bfd}. The match is based on executable
/netbsd/external/gpl3/binutils/dist/bfd/doc/
H A Dcorefile.texi45 (bfd *core_bfd, bfd *exec_bfd);
50 @var{exec_bfd}, @code{FALSE} otherwise.
57 (bfd *core_bfd, bfd *exec_bfd);
62 to @var{exec_bfd}. The match is based on executable

12345678910>>...12