Lines Matching full:core

41 #include <core.h>
51 struct core_dumpxx core, *new_core_hdr; in xcoff64_core_p() local
65 != bfd_bread (&core, sizeof (struct core_dumpxx), abfd)) in xcoff64_core_p()
76 We will still be confused if a Aix 4.3 64 bit core file is in xcoff64_core_p()
81 See rs6000-core.c for comment on size of core in xcoff64_core_p()
82 If there isn't enough of a real core file, bail. */ in xcoff64_core_p()
84 if ((CORE_VERSION_1 != (core.c_flag & CORE_VERSION_1)) in xcoff64_core_p()
85 || (0 != core.c_entries) in xcoff64_core_p()
86 || (! (IS_PROC64 (&core.c_u.U_proc))) in xcoff64_core_p()
87 || ((CHECK_FILE_OFFSET (statbuf, core.c_fdsinfox))) in xcoff64_core_p()
88 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader))) in xcoff64_core_p()
89 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader + core.c_lsize))) in xcoff64_core_p()
90 || ((CHECK_FILE_OFFSET (statbuf, core.c_thr))) in xcoff64_core_p()
91 || ((CHECK_FILE_OFFSET (statbuf, core.c_segregion))) in xcoff64_core_p()
92 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack))) in xcoff64_core_p()
93 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack + core.c_size))) in xcoff64_core_p()
94 || ((CHECK_FILE_OFFSET (statbuf, core.c_data))) in xcoff64_core_p()
95 || ((CHECK_FILE_OFFSET (statbuf, core.c_data + core.c_datasize))) in xcoff64_core_p()
96 || (! (core.c_flag & UBLOCK_VALID)) in xcoff64_core_p()
97 || (! (core.c_flag & LE_VALID))) in xcoff64_core_p()
101 if ((! (core.c_flag & USTACK_VALID)) in xcoff64_core_p()
102 || (core.c_flag & CORE_TRUNC)) in xcoff64_core_p()
113 memcpy (new_core_hdr, &core, sizeof (struct core_dumpxx)); in xcoff64_core_p()
125 sec->size = core.c_size; in xcoff64_core_p()
126 sec->vma = core.c_stackorg; in xcoff64_core_p()
127 sec->filepos = core.c_stack; in xcoff64_core_p()
142 core dump would require going down the whole list of struct in xcoff64_core_p()
149 sec->size = core.c_lsize; in xcoff64_core_p()
151 sec->filepos = core.c_loader; in xcoff64_core_p()
153 /* AIX 4 adds data sections from loaded objects to the core file, in xcoff64_core_p()
163 sec->size = core.c_datasize; in xcoff64_core_p()
164 sec->vma = core.c_dataorg; in xcoff64_core_p()
165 sec->filepos = core.c_data; in xcoff64_core_p()
168 ld_offset = core.c_loader; in xcoff64_core_p()
197 if (core.c_vmregions) in xcoff64_core_p()
199 if (bfd_seek (abfd, core.c_vmm, SEEK_SET) != 0) in xcoff64_core_p()
202 for (i = 0; i < core.c_vmregions; i++) in xcoff64_core_p()
229 /* Return `TRUE' if given core is from the given executable. */
234 struct core_dumpxx core; in xcoff64_core_file_matches_executable_p() local
245 bfd_bread (&core, sizeof (struct core_dumpxx), core_bfd)) in xcoff64_core_file_matches_executable_p()
248 if (bfd_seek (core_bfd, core.c_loader, SEEK_SET) != 0) in xcoff64_core_file_matches_executable_p()