/original-bsd/old/dbx/ |
H A D | coredump.c | 59 corefile, in coredump_getkerinfo() 63 get(corefile, masterpcbb); in coredump_getkerinfo() 97 fread(up, ctob(UPAGES), 1, corefile); 140 fclose(corefile); 184 vreadfromfile(corefile, a, buff, nbytes); 186 readfromfile(corefile, a, buff, nbytes); 196 private vreadfromfile (corefile, v, buff, nbytes) in vreadfromfile() argument 197 File corefile; in vreadfromfile() 210 readfromfile(corefile, vmap(a), buff, nbytes); 212 readfromfile(corefile, vmap(a), buff, remainder); [all …]
|
H A D | main.c | 77 public File corefile; /* File id of core dump */ variable 319 corefile = nil; 376 corefile = fopen(*argv, "r"); 377 if (corefile == nil) 412 if (coredump and corefile == nil) { in openfiles() 415 corefile = fopen(corename, "r"); in openfiles() 416 if (corefile == nil) { in openfiles() 421 corefile = fopen(corename, "r"); in openfiles() 422 if (corefile == nil) { in openfiles()
|
H A D | tahoe.c | 937 fseek(corefile, masterpcbb & ~0xc0000000, 0); in getpcb() 938 get(corefile, pcb); in getpcb() 1046 fseek(corefile, addr, 0); 1047 if (fread(&pte, sizeof (pte), 1, corefile) != 1)
|
H A D | vax.c | 1169 fseek(corefile, masterpcbb & ~0x80000000, 0); in getpcb() 1170 get(corefile, pcb); in getpcb() 1279 fseek(corefile, r, 0); 1280 n = fread(&pte, sizeof(pte), 1, corefile);
|
H A D | iris.c | 1602 fseek(corefile, masterpcbb & ~0x80000000, 0); in getpcb() 1603 get(corefile, pcb); in getpcb() 1707 fseek(corefile, r, 0); 1708 n = fread(&pte, sizeof(pte), 1, corefile);
|
H A D | sun.c | 1602 fseek(corefile, masterpcbb & ~0x80000000, 0); in getpcb() 1603 get(corefile, pcb); in getpcb() 1707 fseek(corefile, r, 0); 1708 n = fread(&pte, sizeof(pte), 1, corefile);
|
H A D | process.c | 183 fclose(corefile);
|
/original-bsd/usr.bin/gcore/ |
H A D | gcore.c | 70 char *corefile, errbuf[_POSIX2_LINE_MAX], fname[MAXPATHLEN + 1]; local 73 corefile = NULL; 77 corefile = optarg; 116 if (corefile == NULL) { 118 corefile = fname; 120 fd = open(corefile, O_RDWR|O_CREAT|O_TRUNC, DEFFILEMODE); 122 err(1, "%s: %s\n", corefile, strerror(errno));
|
/original-bsd/old/adb/common_source/ |
H A D | main.c | 66 corefile.name = "core"; 85 corefile.name = argv[2]; 169 fname = corefile.name;
|
H A D | setup.c | 123 if ((datmap.ufd = corefile.fd = getfile(2)) < 0) in setcore() 129 if (read(corefile.fd, (char *)&u, ctob(UPAGES)) != ctob(UPAGES) || in setcore() 131 adbprintf("not core file = %s\n", corefile.name); in setcore()
|
H A D | print.c | 199 m->ufd == corefile.fd ? corefile.name : symfile.name);
|
H A D | access.c | 114 if (lseek(corefile.fd, off, L_SET) == -1) 116 return (read(corefile.fd, addr, len));
|
H A D | defs.h | 46 } symfile, corefile; variable
|
H A D | command.c | 241 smap->ufd = corefile.fd;
|
H A D | pcs.c | 470 (void) close(corefile.fd); in bpwait()
|
/original-bsd/contrib/gdb-4.7.LBL/gdb/ |
H A D | main.c | 524 do_core_arg(corefile, batch) in do_core_arg() argument 525 char *corefile; in do_core_arg() 533 if (corefile[0] == '@') 535 remote_open(corefile, 0); 536 else if (stat(corefile, &stb) == 0) { 547 kernel_core_open(corefile, !batch); 549 remote_open(corefile, !batch); 552 kernel_core_open(corefile, !batch); 556 } else if (isdigit(corefile[0])) 557 attach_command(corefile, !batch); [all …]
|