Lines Matching refs:print_debug

109     print_debug("can't allocate memory for map_info\n");
185 print_debug("can't locate map_info at 0x%lx, trying class share maps\n", addr);
189 print_debug("located map_info at 0x%lx from class share maps\n", addr);
195 print_debug("can't locate map_info at 0x%lx\n", addr);
317 print_debug("can't lookup 'UseSharedSpaces' flag\n");
325 print_debug("can't read the value of 'UseSharedSpaces' flag\n");
330 print_debug("UseSharedSpaces is false, assuming -Xshare:off!\n");
336 print_debug("can't lookup shared archive path symbol\n");
341 print_debug("can't read shared archive path pointer\n");
346 print_debug("can't read shared archive path value\n");
350 print_debug("looking for %s\n", classes_jsa);
354 print_debug("can't open %s!\n", classes_jsa);
358 print_debug("opened %s\n", classes_jsa);
365 print_debug("can't read shared archive file map header from %s\n", classes_jsa);
372 print_debug("%s has bad shared archive file magic number 0x%x, expecing 0xf00baba2\n",
380 print_debug("%s has wrong shared archive file version %d, expecting %d\n",
395 print_debug("added a share archive map at 0x%lx\n", base);
432 print_debug("can't allocate memory for map array\n");
455 print_debug("---- sorted virtual address map ----\n");
457 print_debug("base = 0x%lx\tsize = %d\n", ph->core->map_array[j]->vaddr,
511 print_debug("core read failed for %d byte(s) @ 0x%lx (%d more bytes)\n",
540 print_debug("core_get_lwp_info not implemented\n");
558 print_debug("thread added: %d\n", threadinfo->lwp_id);
559 print_debug("registers:\n");
560 print_debug(" r_r15: 0x%" PRIx64 "\n", threadinfo->regs.r_r15);
561 print_debug(" r_r14: 0x%" PRIx64 "\n", threadinfo->regs.r_r14);
562 print_debug(" r_r13: 0x%" PRIx64 "\n", threadinfo->regs.r_r13);
563 print_debug(" r_r12: 0x%" PRIx64 "\n", threadinfo->regs.r_r12);
564 print_debug(" r_r11: 0x%" PRIx64 "\n", threadinfo->regs.r_r11);
565 print_debug(" r_r10: 0x%" PRIx64 "\n", threadinfo->regs.r_r10);
566 print_debug(" r_r9: 0x%" PRIx64 "\n", threadinfo->regs.r_r9);
567 print_debug(" r_r8: 0x%" PRIx64 "\n", threadinfo->regs.r_r8);
568 print_debug(" r_rdi: 0x%" PRIx64 "\n", threadinfo->regs.r_rdi);
569 print_debug(" r_rsi: 0x%" PRIx64 "\n", threadinfo->regs.r_rsi);
570 print_debug(" r_rbp: 0x%" PRIx64 "\n", threadinfo->regs.r_rbp);
571 print_debug(" r_rbx: 0x%" PRIx64 "\n", threadinfo->regs.r_rbx);
572 print_debug(" r_rdx: 0x%" PRIx64 "\n", threadinfo->regs.r_rdx);
573 print_debug(" r_rcx: 0x%" PRIx64 "\n", threadinfo->regs.r_rcx);
574 print_debug(" r_rax: 0x%" PRIx64 "\n", threadinfo->regs.r_rax);
575 print_debug(" r_fs: 0x%" PRIx32 "\n", threadinfo->regs.r_fs);
576 print_debug(" r_gs: 0x%" PRIx32 "\n", threadinfo->regs.r_gs);
577 print_debug(" r_rip 0x%" PRIx64 "\n", threadinfo->regs.r_rip);
578 print_debug(" r_cs: 0x%" PRIx64 "\n", threadinfo->regs.r_cs);
579 print_debug(" r_rsp: 0x%" PRIx64 "\n", threadinfo->regs.r_rsp);
580 print_debug(" r_rflags: 0x%" PRIx64 "\n", threadinfo->regs.r_rflags);
599 print_debug("total commands: %d\n", fhead.ncmds);
610 print_debug("failed to read LC_SEGMENT_64 i = %d!\n", i);
614 print_debug("Failed to add map_info at i = %d\n", i);
617 print_debug("segment added: %" PRIu64 " 0x%" PRIx64 " %d\n",
679 print_debug("Reading flavor, count failed.\n");
796 print_debug("page size is %d\n", pagesize);
805 print_debug("map_info %d: vmaddr = 0x%016" PRIx64 " fileoff = %" PRIu64 " vmsize = %" PRIu64 "\n",
846 print_debug("Warning: out of segement limit: %ld \n", fpos - lcmd.cmdsize - iter->offset);
862 print_debug("%s\n", name);
866 print_debug("get_real_path returned: %s\n", name);
902 print_debug("cant allocate ps_prochandle\n");
908 print_debug("can't allocate ps_prochandle\n");
918 print_debug("exec: %s core: %s", exec_file, core_file);
930 print_debug("core file is not a valid Mach-O file\n");
975 print_debug("Leave Pgrab_core\n");
991 print_debug("got integer regset for lwp %d\n", prstat->pr_pid);
1000 print_debug("integer regset\n");
1003 print_debug("\teax = 0x%x\n", newthr->regs.r_eax);
1004 print_debug("\tebx = 0x%x\n", newthr->regs.r_ebx);
1005 print_debug("\tecx = 0x%x\n", newthr->regs.r_ecx);
1006 print_debug("\tedx = 0x%x\n", newthr->regs.r_edx);
1007 print_debug("\tesp = 0x%x\n", newthr->regs.r_esp);
1008 print_debug("\tebp = 0x%x\n", newthr->regs.r_ebp);
1009 print_debug("\tesi = 0x%x\n", newthr->regs.r_esi);
1010 print_debug("\tedi = 0x%x\n", newthr->regs.r_edi);
1011 print_debug("\teip = 0x%x\n", newthr->regs.r_eip);
1016 print_debug("\tr15 = 0x%lx\n", newthr->regs.r_r15);
1017 print_debug("\tr14 = 0x%lx\n", newthr->regs.r_r14);
1018 print_debug("\tr13 = 0x%lx\n", newthr->regs.r_r13);
1019 print_debug("\tr12 = 0x%lx\n", newthr->regs.r_r12);
1020 print_debug("\trbp = 0x%lx\n", newthr->regs.r_rbp);
1021 print_debug("\trbx = 0x%lx\n", newthr->regs.r_rbx);
1022 print_debug("\tr11 = 0x%lx\n", newthr->regs.r_r11);
1023 print_debug("\tr10 = 0x%lx\n", newthr->regs.r_r10);
1024 print_debug("\tr9 = 0x%lx\n", newthr->regs.r_r9);
1025 print_debug("\tr8 = 0x%lx\n", newthr->regs.r_r8);
1026 print_debug("\trax = 0x%lx\n", newthr->regs.r_rax);
1027 print_debug("\trcx = 0x%lx\n", newthr->regs.r_rcx);
1028 print_debug("\trdx = 0x%lx\n", newthr->regs.r_rdx);
1029 print_debug("\trsi = 0x%lx\n", newthr->regs.r_rsi);
1030 print_debug("\trdi = 0x%lx\n", newthr->regs.r_rdi);
1031 //print_debug("\torig_rax = 0x%lx\n", newthr->regs.orig_rax);
1032 print_debug("\trip = 0x%lx\n", newthr->regs.r_rip);
1033 print_debug("\tcs = 0x%lx\n", newthr->regs.r_cs);
1034 //print_debug("\teflags = 0x%lx\n", newthr->regs.eflags);
1035 print_debug("\trsp = 0x%lx\n", newthr->regs.r_rsp);
1036 print_debug("\tss = 0x%lx\n", newthr->regs.r_ss);
1037 //print_debug("\tfs_base = 0x%lx\n", newthr->regs.fs_base);
1038 //print_debug("\tgs_base = 0x%lx\n", newthr->regs.gs_base);
1039 //print_debug("\tds = 0x%lx\n", newthr->regs.ds);
1040 //print_debug("\tes = 0x%lx\n", newthr->regs.es);
1041 //print_debug("\tfs = 0x%lx\n", newthr->regs.fs);
1042 //print_debug("\tgs = 0x%lx\n", newthr->regs.gs);
1060 print_debug("failed to lseek to PT_NOTE data\n");
1067 print_debug("can't allocate memory for reading core notes\n");
1073 print_debug("failed to read notes, core file must have been truncated\n");
1081 print_debug("Note header with n_type = %d and n_descsz = %u\n",
1190 print_debug("address conflict @ 0x%lx (size = %ld, flags = %d\n)",
1196 print_debug("overwrote with new address mapping (memsz %ld -> %ld)\n",
1220 print_debug("interpreter is not a valid ELF file\n");
1225 print_debug("can't read segments of interpreter\n");
1258 print_debug("ELF interpreter %s\n", interp_name);
1261 print_debug("can't open runtime loader\n");
1270 print_debug("address of _DYNAMIC is 0x%lx\n", ph->core->dynamic_addr);
1316 print_debug("can't read debug info from _DYNAMIC\n");
1327 print_debug("can't read first link map address\n");
1335 print_debug("can't read ld base address\n");
1343 print_debug("interpreter base address is 0x%lx\n", ld_base_addr);
1355 print_debug("first link map is at 0x%lx\n", first_link_map_addr);
1367 print_debug("can't read shared object base address diff\n");
1374 print_debug("can't read address of shared object name\n");
1380 print_debug("can't read shared object name\n");
1389 print_debug("can't open shared object %s\n", lib_name);
1394 print_debug("reading library %s @ 0x%lx [ 0x%lx ]\n",
1398 print_debug("can't read shared object's segments\n");
1409 print_debug("can't read ELF header for shared object %s\n", lib_name);
1419 print_debug("can't read next link in link_map\n");
1434 print_debug("can't allocate ps_prochandle\n");
1440 print_debug("can't allocate ps_prochandle\n");
1450 print_debug("exec: %s core: %s", exec_file, core_file);
1454 print_debug("can't open core file\n");
1460 print_debug("core file is not a valid ELF ET_CORE file\n");
1465 print_debug("can't open executable file\n");
1470 print_debug("executable file is not a valid ELF ET_EXEC file\n");
1510 print_debug("Leave Pgrab_core\n");