Home
last modified time | relevance | path

Searched refs:ptr_type (Results 1 – 24 of 24) sorted by relevance

/dflybsd-src/contrib/gdb-7/gdb/
H A Dd-valprint.c47 struct type *ptr_type; in dynamic_array_type() local
53 ptr_type = TYPE_FIELD_TYPE (type, 1); in dynamic_array_type()
54 elttype = check_typedef (TYPE_TARGET_TYPE (ptr_type)); in dynamic_array_type()
55 addr = unpack_pointer (ptr_type, in dynamic_array_type()
H A Dsolib-svr4.c162 struct type *ptr_type = builtin_type (target_gdbarch ())->builtin_data_ptr; in lm_info_read() local
168 ptr_type); in lm_info_read()
169 lm_info->l_ld = extract_typed_address (&lm[lmo->l_ld_offset], ptr_type); in lm_info_read()
171 ptr_type); in lm_info_read()
173 ptr_type); in lm_info_read()
175 ptr_type); in lm_info_read()
610 struct type *ptr_type; in scan_dyntag() local
614 ptr_type = builtin_type (target_gdbarch ())->builtin_data_ptr; in scan_dyntag()
617 dyn_ptr = extract_typed_address (ptr_buf, ptr_type); in scan_dyntag()
711 struct type *ptr_type = builtin_type (target_gdbarch ())->builtin_data_ptr; in elf_locate_base() local
[all …]
H A Djit.c344 struct type *ptr_type; in jit_read_descriptor() local
363 ptr_type = builtin_type (gdbarch)->builtin_data_ptr; in jit_read_descriptor()
364 ptr_size = TYPE_LENGTH (ptr_type); in jit_read_descriptor()
382 descriptor->relevant_entry = extract_typed_address (&desc_buf[8], ptr_type); in jit_read_descriptor()
384 extract_typed_address (&desc_buf[8 + ptr_size], ptr_type); in jit_read_descriptor()
396 struct type *ptr_type; in jit_read_code_entry() local
404 ptr_type = builtin_type (gdbarch)->builtin_data_ptr; in jit_read_code_entry()
405 ptr_size = TYPE_LENGTH (ptr_type); in jit_read_code_entry()
421 ptr_type = builtin_type (gdbarch)->builtin_data_ptr; in jit_read_code_entry()
422 code_entry->next_entry = extract_typed_address (&entry_buf[0], ptr_type); in jit_read_code_entry()
[all …]
H A Dobjc-lang.c1508 struct type *ptr_type = builtin_type (gdbarch)->builtin_func_ptr; in resolve_msgsend() local
1514 object = gdbarch_fetch_pointer_argument (gdbarch, frame, 0, ptr_type); in resolve_msgsend()
1515 sel = gdbarch_fetch_pointer_argument (gdbarch, frame, 1, ptr_type); in resolve_msgsend()
1530 struct type *ptr_type = builtin_type (gdbarch)->builtin_func_ptr; in resolve_msgsend_stret() local
1536 object = gdbarch_fetch_pointer_argument (gdbarch, frame, 1, ptr_type); in resolve_msgsend_stret()
1537 sel = gdbarch_fetch_pointer_argument (gdbarch, frame, 2, ptr_type); in resolve_msgsend_stret()
1552 struct type *ptr_type = builtin_type (gdbarch)->builtin_func_ptr; in resolve_msgsend_super() local
1560 super = gdbarch_fetch_pointer_argument (gdbarch, frame, 0, ptr_type); in resolve_msgsend_super()
1561 sel = gdbarch_fetch_pointer_argument (gdbarch, frame, 1, ptr_type); in resolve_msgsend_super()
1580 struct type *ptr_type = builtin_type (gdbarch)->builtin_func_ptr; in resolve_msgsend_super_stret() local
[all …]
H A Dauxv.c79 struct type *ptr_type = builtin_type (target_gdbarch ())->builtin_data_ptr; in ld_so_xfer_auxv() local
80 size_t ptr_size = TYPE_LENGTH (ptr_type); in ld_so_xfer_auxv()
122 data_address = extract_typed_address (ptr_buf, ptr_type); in ld_so_xfer_auxv()
148 if (extract_typed_address (ptr_buf, ptr_type) == AT_NULL) in ld_so_xfer_auxv()
190 if (extract_typed_address (readbuf, ptr_type) == AT_NULL) in ld_so_xfer_auxv()
H A Dfindcmd.c304 struct type *ptr_type = builtin_type (gdbarch)->builtin_data_ptr; in find_command() local
307 value_from_pointer (ptr_type, last_found_addr)); in find_command()
H A Dgnu-v3-abi.c424 struct type *ptr_type; in gnuv3_baseclass_offset() local
431 ptr_type = builtin_type (gdbarch)->builtin_data_ptr; in gnuv3_baseclass_offset()
449 if ((- cur_base_offset) % TYPE_LENGTH (ptr_type) != 0) in gnuv3_baseclass_offset()
451 cur_base_offset = cur_base_offset / ((int) TYPE_LENGTH (ptr_type)); in gnuv3_baseclass_offset()
H A Dbsd-uthread.c153 struct type *ptr_type = builtin_type (target_gdbarch ())->builtin_data_ptr; in bsd_uthread_read_memory_address() local
154 return read_memory_typed_address (addr, ptr_type); in bsd_uthread_read_memory_address()
H A Delfread.c621 struct type *ptr_type = builtin_type (gdbarch)->builtin_data_ptr; in elf_rel_plt_read() local
622 size_t ptr_size = TYPE_LENGTH (ptr_type); in elf_rel_plt_read()
862 struct type *ptr_type = builtin_type (gdbarch)->builtin_data_ptr; in elf_gnu_ifunc_resolve_by_got() local
863 size_t ptr_size = TYPE_LENGTH (ptr_type); in elf_gnu_ifunc_resolve_by_got()
884 addr = extract_typed_address (buf, ptr_type); in elf_gnu_ifunc_resolve_by_got()
H A Dstap-probe.c1296 struct type *ptr_type = builtin_type (gdbarch)->builtin_data_ptr; in handle_stap_probe() local
1323 ret->p.address = extract_typed_address (&el->data[0], ptr_type); in handle_stap_probe()
1326 base_ref = extract_typed_address (&el->data[size], ptr_type); in handle_stap_probe()
1329 ret->sem_addr = extract_typed_address (&el->data[2 * size], ptr_type); in handle_stap_probe()
H A Dinf-ptrace.c652 struct type *ptr_type = builtin_type (target_gdbarch ())->builtin_data_ptr; in inf_ptrace_auxv_parse() local
654 const int sizeof_auxv_val = TYPE_LENGTH (ptr_type); in inf_ptrace_auxv_parse()
H A Dvalarith.c51 find_size_for_pointer_math (struct type *ptr_type) in find_size_for_pointer_math() argument
56 gdb_assert (TYPE_CODE (ptr_type) == TYPE_CODE_PTR); in find_size_for_pointer_math()
57 ptr_target = check_typedef (TYPE_TARGET_TYPE (ptr_type)); in find_size_for_pointer_math()
62 if (TYPE_CODE (ptr_type) == TYPE_CODE_VOID) in find_size_for_pointer_math()
H A Dada-valprint.c772 struct type *ptr_type = builtin_type (gdbarch)->builtin_data_ptr; in ada_val_print_1() local
774 ptr_type); in ada_val_print_1()
H A Dprintcmd.c547 struct type *ptr_type = builtin_type (gdbarch)->builtin_data_ptr; in set_next_address() local
554 value_from_pointer (ptr_type, addr)); in set_next_address()
H A Dada-lang.c6118 struct type *ptr_type, *obj_type; in ada_tag_value_at_base_address() local
6139 ptr_type = builtin_type (target_gdbarch ())->builtin_data_ptr; in ada_tag_value_at_base_address()
6140 ptr_type = lookup_pointer_type (ptr_type); in ada_tag_value_at_base_address()
6141 val = value_cast (ptr_type, tag); in ada_tag_value_at_base_address()
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dasan.c627 tree ptr_type = gimple_call_lhs (call) ? TREE_TYPE (gimple_call_lhs (call)) in handle_builtin_alloca() local
688 tree new_alloca_with_rz = make_ssa_name (ptr_type, gg); in handle_builtin_alloca()
693 g = gimple_build_assign (make_ssa_name (ptr_type), POINTER_PLUS_EXPR, in handle_builtin_alloca()
H A Dfunction.c4076 tree ptr_type, addr; in gimplify_parameters() local
4078 ptr_type = build_pointer_type (type); in gimplify_parameters()
4079 addr = create_tmp_reg (ptr_type, get_name (parm)); in gimplify_parameters()
4088 t = fold_convert (ptr_type, t); in gimplify_parameters()
H A Domp-low.c6069 tree ptr_type, t, l0, l1, l2, bfn_decl; in lower_omp_single_copy() local
6075 ptr_type = build_pointer_type (ctx->record_type); in lower_omp_single_copy()
6076 ctx->receiver_decl = create_tmp_var (ptr_type, ".omp_copy_i"); in lower_omp_single_copy()
6084 t = fold_convert_loc (loc, ptr_type, t); in lower_omp_single_copy()
6088 build_int_cst (ptr_type, 0)); in lower_omp_single_copy()
H A Dgimplify.c1584 tree t, addr, ptr_type; in gimplify_vla_decl() local
1598 ptr_type = build_pointer_type (TREE_TYPE (decl)); in gimplify_vla_decl()
1599 addr = create_tmp_var (ptr_type, get_name (decl)); in gimplify_vla_decl()
1610 t = fold_convert (ptr_type, t); in gimplify_vla_decl()
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dtree-vect-loop-manip.c2049 tree ptr_type = TREE_TYPE (start_addr); in vect_gen_niters_for_prolog_loop() local
2050 tree size = TYPE_SIZE (ptr_type); in vect_gen_niters_for_prolog_loop()
H A Dfunction.c3632 tree ptr_type, addr; in gimplify_parameters() local
3634 ptr_type = build_pointer_type (type); in gimplify_parameters()
3635 addr = create_tmp_reg (ptr_type, get_name (parm)); in gimplify_parameters()
3645 t = fold_convert (ptr_type, t); in gimplify_parameters()
H A Domp-low.c5979 tree ptr_type, t, l0, l1, l2, bfn_decl; in lower_omp_single_copy() local
5985 ptr_type = build_pointer_type (ctx->record_type); in lower_omp_single_copy()
5986 ctx->receiver_decl = create_tmp_var (ptr_type, ".omp_copy_i"); in lower_omp_single_copy()
5994 t = fold_convert_loc (loc, ptr_type, t); in lower_omp_single_copy()
5998 build_int_cst (ptr_type, 0)); in lower_omp_single_copy()
H A Dgimplify.c1389 tree t, addr, ptr_type; in gimplify_vla_decl() local
1399 ptr_type = build_pointer_type (TREE_TYPE (decl)); in gimplify_vla_decl()
1400 addr = create_tmp_var (ptr_type, get_name (decl)); in gimplify_vla_decl()
1412 t = fold_convert (ptr_type, t); in gimplify_vla_decl()
/dflybsd-src/contrib/gcc-8.0/gcc/cp/
H A Ddecl2.c3147 tree ptr_type = build_pointer_type (char_type_node); in build_atomic_load_byte() local
3158 addr = build1 (ADDR_EXPR, ptr_type, src); in build_atomic_load_byte()