Home | History | Annotate | Download | only in bfd

Lines Matching defs:core

40 #include <core.h>
42 /* The default architecture and machine for matching core files. */
56 struct core_dumpxx core, *new_core_hdr;
69 if (sizeof core != bfd_read (&core, sizeof core, abfd))
80 We will still be confused if a Aix 4.3 64 bit core file is
85 See rs6000-core.c for comment on size of core
86 If there isn't enough of a real core file, bail. */
88 if ((CORE_VERSION_1 != (core.c_flag & CORE_VERSION_1))
89 || (0 != core.c_entries)
90 || (! (IS_PROC64 (&core.c_u.U_proc)))
91 || ((CHECK_FILE_OFFSET (statbuf, core.c_fdsinfox)))
92 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader)))
93 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader + core.c_lsize)))
94 || ((CHECK_FILE_OFFSET (statbuf, core.c_thr)))
95 || ((CHECK_FILE_OFFSET (statbuf, core.c_segregion)))
96 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack)))
97 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack + core.c_size)))
98 || ((CHECK_FILE_OFFSET (statbuf, core.c_data)))
99 || ((CHECK_FILE_OFFSET (statbuf, core.c_data + core.c_datasize)))
100 || (! (core.c_flag & UBLOCK_VALID))
101 || (! (core.c_flag & LE_VALID)))
105 if ((! (core.c_flag & USTACK_VALID))
106 || (core.c_flag & CORE_TRUNC))
117 memcpy (new_core_hdr, &core, sizeof (*new_core_hdr));
131 sec->size = core.c_size;
132 sec->vma = core.c_stackorg;
133 sec->filepos = core.c_stack;
146 if (core.c_extctx)
155 sec->filepos = core.c_extctx;
164 sec->filepos = core.c_extctx + 584;
169 core dump would require going down the whole list of struct
176 sec->size = core.c_lsize;
178 sec->filepos = core.c_loader;
180 /* AIX 4 adds data sections from loaded objects to the core file,
190 sec->size = core.c_datasize;
191 sec->vma = core.c_dataorg;
192 sec->filepos = core.c_data;
195 ld_offset = core.c_loader;
224 if (core.c_vmregions)
226 if (bfd_seek (abfd, core.c_vmm, SEEK_SET) != 0)
229 for (i = 0; i < core.c_vmregions; i++)
261 /* Return `TRUE' if given core is from the given executable. */
266 struct core_dumpxx core;
277 bfd_read (&core, sizeof (struct core_dumpxx), core_bfd))
280 if (bfd_seek (core_bfd, core.c_loader, SEEK_SET) != 0)