Lines Matching defs:core
1 /* BFD back end for NetBSD style core files
31 #include <sys/core.h>
49 struct core core;
52 /* Handle NetBSD-style core dump file. */
61 struct core core;
63 bfd_size_type amt = sizeof core;
65 val = bfd_bread (&core, amt, abfd);
66 if (val != sizeof core)
68 /* Too small to be a core file. */
73 if (CORE_GETMAGIC (core) != COREMAGIC)
84 rawptr->core = core;
87 offset = core.c_hdrsize;
88 for (i = 0; i < core.c_nseg; i++)
108 offset += core.c_seghdrsize;
142 switch (CORE_GETMID (core))
178 switch (CORE_GETMID (core))
228 /* OK, we believe you. You're a core file (sure, sure). */
242 return abfd->tdata.netbsd_core_data->core.c_name;
249 return abfd->tdata.netbsd_core_data->core.c_signo;
271 "netbsd-core",
294 netbsd_core_file_p /* A core file. */