Home
last modified time | relevance | path

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

12345

/netbsd/src/external/gpl3/binutils/dist/bfd/
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()
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()
Daix5ppc-core.c263 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
312 str2 = strrchr (bfd_get_filename (exec_bfd), '/'); in xcoff64_core_file_matches_executable_p()
316 str2 = str2 != NULL ? str2 + 1 : bfd_get_filename (exec_bfd); in xcoff64_core_file_matches_executable_p()
360 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
362 return generic_core_file_matches_executable_p (core_bfd, exec_bfd); in xcoff64_core_file_matches_executable_p()
Drs6000-core.c281 bool rs6000coff_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd);
714 rs6000coff_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in rs6000coff_core_file_matches_executable_p() argument
775 str2 = strrchr (bfd_get_filename (exec_bfd), '/'); in rs6000coff_core_file_matches_executable_p()
779 str2 = str2 != NULL ? str2 + 1 : bfd_get_filename (exec_bfd); in rs6000coff_core_file_matches_executable_p()
/netbsd/src/external/gpl3/gdb/dist/bfd/
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()
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()
Daix5ppc-core.c263 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
312 str2 = strrchr (bfd_get_filename (exec_bfd), '/'); in xcoff64_core_file_matches_executable_p()
316 str2 = str2 != NULL ? str2 + 1 : bfd_get_filename (exec_bfd); in xcoff64_core_file_matches_executable_p()
360 xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in xcoff64_core_file_matches_executable_p() argument
362 return generic_core_file_matches_executable_p (core_bfd, exec_bfd); in xcoff64_core_file_matches_executable_p()
Drs6000-core.c281 bool rs6000coff_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd);
714 rs6000coff_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) in rs6000coff_core_file_matches_executable_p() argument
775 str2 = strrchr (bfd_get_filename (exec_bfd), '/'); in rs6000coff_core_file_matches_executable_p()
779 str2 = str2 != NULL ? str2 + 1 : bfd_get_filename (exec_bfd); in rs6000coff_core_file_matches_executable_p()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dcorefile.c42 bfd *exec_bfd = current_program_space->exec_bfd (); in reopen_exec_file() local
45 if (exec_bfd == nullptr) in reopen_exec_file()
50 gdb_assert ((exec_bfd->flags & BFD_IN_MEMORY) == 0); in reopen_exec_file()
54 int res = bfd_stat (exec_bfd, &st); in reopen_exec_file()
59 exec_file_attach (bfd_get_filename (exec_bfd), 0); in reopen_exec_file()
68 if (current_program_space->exec_bfd () && current_program_space->core_bfd ()) in validate_files()
71 current_program_space->exec_bfd ())) in validate_files()
73 else if (bfd_get_mtime (current_program_space->exec_bfd ()) in validate_files()
Dexec.c239 = build_id_bfd_get (current_program_space->exec_bfd ()); in validate_exec_file()
368 = gdb_bfd_ref_ptr::new_reference (current_program_space->exec_bfd ()); in exec_file_attach()
451 if (!current_program_space->exec_bfd ()) in exec_file_attach()
463 (bfd_get_filename (current_program_space->exec_bfd ()))); in exec_file_attach()
469 if (!bfd_check_format_matches (current_program_space->exec_bfd (), in exec_file_attach()
480 = build_section_table (current_program_space->exec_bfd ()); in exec_file_attach()
483 = bfd_get_mtime (current_program_space->exec_bfd ()); in exec_file_attach()
487 set_gdbarch_from_file (current_program_space->exec_bfd ()); in exec_file_attach()
498 bfd *curr_bfd = current_program_space->exec_bfd (); in exec_file_attach()
693 if (current_program_space->exec_bfd () != NULL) in exec_read_partial_read_only()
[all …]
Dsolib-svr4.c628 if (current_program_space->exec_bfd () in find_program_interpreter()
629 && (bfd_get_flavour (current_program_space->exec_bfd ()) in find_program_interpreter()
634 interp_sect = bfd_get_section_by_name (current_program_space->exec_bfd (), in find_program_interpreter()
642 = bfd_get_section_contents (current_program_space->exec_bfd (), in find_program_interpreter()
741 current_program_space->exec_bfd (), in elf_locate_base()
762 current_program_space->exec_bfd (), in elf_locate_base()
780 if (gdb_bfd_scan_elf_dyntag (DT_DEBUG, current_program_space->exec_bfd (), in elf_locate_base()
1364 if (current_program_space->exec_bfd () in svr4_current_sos_direct()
1365 && bfd_get_section_by_name (current_program_space->exec_bfd (), in svr4_current_sos_direct()
2622 if (current_program_space->exec_bfd () == NULL) in svr4_exec_displacement()
[all …]
Dproc-service.c44 if (current_program_space->exec_bfd () in ps_addr_to_core_addr()
45 && bfd_get_sign_extend_vma (current_program_space->exec_bfd ())) in ps_addr_to_core_addr()
56 if (current_program_space->exec_bfd () in core_addr_to_ps_addr()
57 && bfd_get_sign_extend_vma (current_program_space->exec_bfd ())) in core_addr_to_ps_addr()
Dsymfile-mem.c148 templ = current_program_space->exec_bfd (); in add_symbol_file_from_memory_command()
170 else if (current_program_space->exec_bfd () != nullptr) in add_vsyscall_page()
171 bfd = current_program_space->exec_bfd (); in add_vsyscall_page()
Dremote-sim.c219 current_program_space->exec_bfd (), sim_argv); in get_sim_inferior_data()
626 if (exec_file == 0 || current_program_space->exec_bfd () == 0) in create_inferior()
655 current_program_space->exec_bfd (), in create_inferior()
745 current_program_space->exec_bfd (), sim_argv); in gdbsim_target_open()
1108 if (current_program_space->exec_bfd ()) in files_info()
1109 file = bfd_get_filename (current_program_space->exec_bfd ()); in files_info()
1114 if (current_program_space->exec_bfd ()) in files_info()
Dgcore.c189 if (current_program_space->exec_bfd () == NULL) in default_gcore_arch()
192 return bfd_get_arch (current_program_space->exec_bfd ()); in default_gcore_arch()
205 if (current_program_space->exec_bfd () == NULL) in default_gcore_target()
208 return bfd_get_target (current_program_space->exec_bfd ()); in default_gcore_target()
572 if (derive_heap_segment (current_program_space->exec_bfd (), &temp_bottom, in objfile_find_memory_regions()
Dsolib-darwin.c189 if (current_program_space->exec_bfd ()) in find_program_interpreter()
193 if (bfd_mach_o_lookup_command (current_program_space->exec_bfd (), in find_program_interpreter()
542 vmaddr = bfd_mach_o_get_base_address (current_program_space->exec_bfd ()); in darwin_solib_create_inferior_hook()
558 = bfd_get_start_address (current_program_space->exec_bfd ()); in darwin_solib_create_inferior_hook()
Dsolib-dsbt.c466 current_program_space->exec_bfd (), in lm_base()
671 if (current_program_space->exec_bfd () == NULL) in enable_break()
686 interp_sect = bfd_get_section_by_name (current_program_space->exec_bfd (), in enable_break()
700 bfd_get_section_contents (current_program_space->exec_bfd (), in enable_break()
Dsolib-frv.c505 interp_sect = bfd_get_section_by_name (current_program_space->exec_bfd (), in enable_break2()
520 bfd_get_section_contents (current_program_space->exec_bfd (), in enable_break2()
699 interp_sect = bfd_get_section_by_name (current_program_space->exec_bfd (), in enable_break()
Drs6000-aix-nat.c980 if (current_program_space->exec_bfd ()) in create_inferior()
985 = bfd_get_arch_info (current_program_space->exec_bfd ()); in create_inferior()
994 info.abfd = current_program_space->exec_bfd (); in create_inferior()
Dprogspace.h300 bfd *exec_bfd () const in exec_bfd() function
Dsol-thread.c795 if (bfd_get_arch_size (current_program_space->exec_bfd ()) == 32) in rw_common()
947 if (current_program_space->exec_bfd () == 0) in ps_pdmodel()
949 else if (bfd_get_arch_size (current_program_space->exec_bfd ()) == 32) in ps_pdmodel()
Dsource-cache.c116 else if (current_program_space->exec_bfd ()) in get_plain_source_lines()
Dcorelow.c668 if (!current_program_space->exec_bfd ()) in core_target_open()
725 if (current_program_space->exec_bfd () == nullptr) in core_target_open()
/netbsd/src/external/gpl3/gdb/dist/bfd/doc/
Dcorefile.texi32 @deftypefn {Function} bool core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd);
35 @var{exec_bfd}, @code{FALSE} otherwise.
40 @deftypefn {Function} bool generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd);
43 to @var{exec_bfd}. The match is based on executable
/netbsd/src/external/gpl3/binutils/dist/bfd/doc/
Dcorefile.texi32 @deftypefn {Function} bool core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd);
35 @var{exec_bfd}, @code{FALSE} otherwise.
40 @deftypefn {Function} bool generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd);
43 to @var{exec_bfd}. The match is based on executable

12345