Lines Matching defs:core
1 /* BFD back end for NetBSD style core files
31 #include <sys/core.h>
43 struct core core;
59 /* Handle NetBSD-style core dump file. */
69 struct core core;
71 bfd_size_type amt = sizeof core;
73 val = bfd_bread ((void *) &core, amt, abfd);
74 if (val != sizeof core)
76 /* Too small to be a core file. */
81 if (CORE_GETMAGIC (core) != COREMAGIC)
92 rawptr->core = core;
95 offset = core.c_hdrsize;
96 for (i = 0; i < core.c_nseg; i++)
116 offset += core.c_seghdrsize;
147 if (CORE_GETMID (core) == M_SPARC_NETBSD
170 switch (CORE_GETMID (core))
220 /* OK, we believe you. You're a core file (sure, sure). */
235 return abfd->tdata.netbsd_core_data->core.c_name;
243 return abfd->tdata.netbsd_core_data->core.c_signo;
274 "netbsd-core",
296 netbsd_core_file_p /* A core file. */