Home
last modified time | relevance | path

Searched refs:gf_ehdr (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c100 if (gf->gf_ehdr.e_type == ET_REL && npbit != 0) { in gelf_sect_init()
244 if (IOP_SEEK(gf->gf_io, (off64_t)gf->gf_ehdr.e_shoff, SEEK_SET) == -1) { in gelf_shdrs_init()
366 if (IOP_SEEK(gf->gf_io, (off64_t)gf->gf_ehdr.e_phoff, SEEK_SET) == -1) { in gelf_phdrs_init()
484 if (gf->gf_ehdr.e_ident[EI_CLASS] == ELFCLASS32) in mdb_gelf_dyns_set()
496 if (gf->gf_ehdr.e_ident[EI_CLASS] == ELFCLASS32) { in mdb_gelf_dyns_set()
534 if (gf->gf_ehdr.e_type == ET_EXEC && gf->gf_npload != 0) in gelf_dyns_init()
587 bcopy(ehdr->e_ident, gf->gf_ehdr.e_ident, EI_NIDENT); in gelf32_init()
589 gf->gf_ehdr.e_type = ehdr->e_type; in gelf32_init()
590 gf->gf_ehdr.e_machine = ehdr->e_machine; in gelf32_init()
591 gf->gf_ehdr.e_version = ehdr->e_version; in gelf32_init()
[all …]
H A Dmdb_gelf.h57 GElf_Ehdr gf_ehdr; /* ELF file header */ member
H A Dmdb_proc.c894 (void) mdb_dis_select(pt_disasm(&pt->p_file->gf_ehdr)); in pt_exec()
1607 const GElf_Ehdr *ehp = &pt->p_file->gf_ehdr; in pt_status_dcmd()
1746 const GElf_Ehdr *ehp = &pt->p_file->gf_ehdr; in pt_status_dcmd()
2713 pt->p_file->gf_ehdr.e_type == ET_DYN && in pt_lookup_by_name_thr()
5137 bcopy(&pt->p_file->gf_ehdr, buf, nbytes); in pt_xd_ehdr()
5375 (void) mdb_dis_select(pt_disasm(&pt->p_file->gf_ehdr)); in mdb_proc_tgt_create()
5422 (pt->p_file != NULL && pt->p_file->gf_ehdr.e_type == ET_EXEC)) { in mdb_proc_tgt_create()
H A Dmdb_target.c1949 e = gf->gf_ehdr.e_entry; in mdb_tgt_elf_export()
1950 bcopy(&gf->gf_ehdr.e_ident[EI_MAG0], &m, sizeof (m)); in mdb_tgt_elf_export()
H A Dmdb_kvm.c110 km->km_symtab = mdb_gelf_symtab_create_raw(&kt->k_file->gf_ehdr, in kt_load_module()
/titanic_44/usr/src/cmd/mdb/sparc/mdb/
H A Dproc_isadep.c543 uint_t e_mach = pt->p_file ? pt->p_file->gf_ehdr.e_machine : EM_NONE; in pt_addfpregs()
/titanic_44/usr/src/cmd/mdb/intel/modules/mdb_kb/
H A Dmdb_kb.c310 if (gf->gf_ehdr.e_machine == EM_386) in xkb_identify()