Lines Matching defs:addr
43 static void db_pprint_type(db_addr_t addr, struct ctf_type_v3 *type,
54 db_pprint_int(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
76 (long)db_get_value(addr, (bits / 8) ? (bits / 8) : 1, sign));
84 db_pprint_struct(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
121 maddr = addr + (mp->ctm_offset / NBBY);
144 maddr = addr + (CTF_LMEM_OFFSET(mp) / NBBY);
166 db_pprint_arr(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
182 elem_addr = addr;
183 end = addr + (arr->cta_nelems * elem_size);
207 db_pprint_enum(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
219 val = db_get_value(addr, sizeof(int), 0);
246 db_pprint_ptr(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
289 val = (addr != 0) ? db_get_value(addr, sizeof(db_addr_t), false) : 0;
309 db_pprint_type(db_addr_t addr, struct ctf_type_v3 *type, u_int depth)
322 db_pprint_int(addr, type, depth);
326 db_pprint_struct(addr, type, depth);
331 db_iprintf("0x%lx", (long)addr);
334 db_pprint_ptr(addr, type, depth);
342 db_pprint_type(addr, ref_type, depth);
346 db_pprint_enum(addr, type, depth);
349 db_pprint_arr(addr, type, depth);
365 db_addr_t addr;
381 addr = sym_data.sym->st_value;
392 db_pprint_type(addr, type, 0);
398 * Syntax: pprint [/d depth] struct <struct_name> <addr>
401 db_pprint_struct_cmd(db_expr_t addr, const char *struct_name)
413 db_printf("%p = ", (void *)addr);
416 db_pprint_type(addr, type, 0);
424 db_pprint_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
461 if (db_expression(&addr) == 0) {
464 db_pprint_struct_cmd(addr, name);