Lines Matching defs:core

45 #include <core.h>
56 struct core_dumpxx core, *new_core_hdr;
70 != bfd_bread (&core, sizeof (struct core_dumpxx), abfd))
81 We will still be confused if a Aix 4.3 64 bit core file is
86 See rs6000-core.c for comment on size of core
87 If there isn't enough of a real core file, bail. */
89 if ((CORE_VERSION_1 != (core.c_flag & CORE_VERSION_1))
90 || (0 != core.c_entries)
91 || (! (IS_PROC64 (&core.c_u.U_proc)))
92 || ((CHECK_FILE_OFFSET (statbuf, core.c_fdsinfox)))
93 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader)))
94 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader + core.c_lsize)))
95 || ((CHECK_FILE_OFFSET (statbuf, core.c_thr)))
96 || ((CHECK_FILE_OFFSET (statbuf, core.c_segregion)))
97 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack)))
98 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack + core.c_size)))
99 || ((CHECK_FILE_OFFSET (statbuf, core.c_data)))
100 || ((CHECK_FILE_OFFSET (statbuf, core.c_data + core.c_datasize)))
101 || (! (core.c_flag & UBLOCK_VALID))
102 || (! (core.c_flag & LE_VALID)))
106 if ((! (core.c_flag & USTACK_VALID))
107 || (core.c_flag & CORE_TRUNC))
119 memcpy (new_core_hdr, &core, sizeof (struct core_dumpxx));
128 sec->size = core.c_size;
129 sec->vma = core.c_stackorg;
130 sec->filepos = core.c_stack;
145 core dump would require going down the whole list of struct
152 sec->size = core.c_lsize;
154 sec->filepos = core.c_loader;
156 /* AIX 4 adds data sections from loaded objects to the core file,
166 sec->size = core.c_datasize;
167 sec->vma = core.c_dataorg;
168 sec->filepos = core.c_data;
171 ld_offset = core.c_loader;
200 if (core.c_vmregions)
202 if (bfd_seek (abfd, core.c_vmm, SEEK_SET) != 0)
205 for (i = 0; i < core.c_vmregions; i++)
232 /* Return `TRUE' if given core is from the given executable. */
239 struct core_dumpxx core;
250 bfd_bread (&core, sizeof (struct core_dumpxx), core_bfd))
253 if (bfd_seek (core_bfd, core.c_loader, SEEK_SET) != 0)