gdb/ChangeLog 2012-05-31 Siddhesh Poyarekar * ada-lang.c (fat_pntr_bounds_bitpos): Return LONGEST. (fat_pntr_data_bitpos): Likewise. (desc_bound_bitpos): Likewise. (constrained_packed_array_type): Expand elt_bits parameter to LONGEST. (move_bits): Expand parameters src_offset and n to LONGEST. (cond_offset_host): Expand parameter offset to LONGEST. (cond_offset_target): Likewise. (ada_type_of_array): Expand array_bitsize to LONGEST. (decode_constrained_packed_array_type): Expand bits to LONGEST. (decode_constrained_packed_array): Expand bit_pos to LONGEST. (ada_value_primitive_packed_val): Expand parameter offset to LONGEST. Expand targ and ntarg to LONGEST. (ada_value_assign): Expand from_size to LONGEST. (value_assign_to_component): Expand bits to LONGEST. (ensure_lval): Expand len to LONGEST. (value_pointer): Expand len to ULONGEST. (value_tag_from_contents_and_address): Expand tag_byte_offset to LONGEST. (ada_value_primitive_field): Expand parameter offset to LONGEST. Expand bit_pos to LONGEST. (find_struct_field): Expand parameters offset and byte_offset_p to LONGEST. Expand bit_pos and fld_offset to LONGEST. (ada_search_struct_field): Expand parameter offset to LONGEST. Expand var_offset to LONGEST. (ada_index_struct_field): Expand parameters index and offset to LONGEST. (ada_index_struct_field_1): Expand parameters index_p and offset to LONGEST. (ada_value_struct_elt): Expand byte_offset to LONGEST. (align_value): Return ULONGEST. Expand parameter off and alignment to ULONGEST. (ada_template_to_fixed_record_type_1): Expand off, bit_len and fld_bit_len to LONGEST. Expand field_offset to LONGEST. Use pulongest function to print TYPE_LENGTH. (to_fixed_array_type): Expand len to LONGEST. * ada-lang.h (ada_val_print): Expand parameter embedded_offset to LONGEST. (ada_printstr): Expand parameter length to ULONGEST. (ada_value_primitive_packed_val): Expand parameter offset to LONGEST. * ada-typeprint.c (ada_print_type): Use pulongest to print TYPE_LENGTH. * ada-valprint.c (val_print_packed_array_elements): Expand eltlen to ULONGEST. (char_at): Expand parameter i to LONGEST. (printstr): Expand parameter length to ULONGEST. (ada_printstr): Likewise. (ada_val_print): Expand embedded_offset to LONGEST. (ada_val_print_array): Expand eltlen, len to ULONGEST and temp_len to LONGEST. (ada_val_print_1): Expand parameter offset to LONGEST. Expand len to LONGEST. (print_variant_part): Expand parameters offset and outer_offset to LONGEST. (print_field_values): Likewise. Expand bit_pos to LONGEST. * alpha-tdep.c (struct alpha_arg): Expand member len to LONGEST. (alpha_push_dummy_call): Expand len to LONGEST. (alpha_extract_return_value): Likewise. (alpha_store_return_value): Likewise. * amd64-tdep.c (amd64_classify_aggregate): Expand len, bitsize, endpos and pos to LONGEST. (amd64_classify): Expand len to LONGEST. (amd64_return_value): Likewise. (amd64_push_arguments): Expand num_elements, element and len to LONGEST. (amd64_get_longjmp_target): Expand len to LONGEST. * amd64-windows-tdep.c (amd64_windows_return_value): Likewise. * arm-linux-nat.c (arm_linux_hw_watchpoint_initialize): Expand parameter len to LONGEST. (arm_linux_region_ok_for_hw_watchpoint): Likewise. (arm_linux_insert_watchpoint): Likewise. (arm_linux_remove_watchpoint): Likewise. * arm-tdep.c (arm_push_dummy_call): Expand len to LONGEST. (arm_extract_return_value): Likewise. (arm_store_return_value): Likewise. * avr-tdep.c (avr_return_value): Expand i to LONGEST. (push_stack_item): Expand parameter len to LONGEST. (avr_push_dummy_call): Expand last_regnum, len to LONGEST. * ax-gdb.c (gen_trace_static_fields): Expand length to LONGEST. (gen_traced_pop): Likewise. (gen_left_shift): Expand parameter distance to LONGEST. (gen_offset): Expand parameter offset to LONGEST. (gen_bitfield_ref): Expand parameters start, end to LONGEST. Expand bound_start, bound_end, offset to LONGEST. (gen_primitive_field): Expand parameter offset to LONGEST. (gen_struct_ref_recursive): Likewise. * bfin-tdep.c (bfin_push_dummy_call): Expand total_len, len, container_len to LONGEST. (bfin_extract_return_value): Expand len to LONGEST. (bfin_store_return_value): Likewise. * breakpoint.c (update_watchpoint): Expand len to LONGEST. (can_use_hardware_watchpoint): Likewise. (invalidate_bp_value_on_memory_change): Expand parameter len to LONGEST. * breakpoint.h (struct bp_location): Expand member length to LONGEST. * c-lang.c (c_printstr): Expand parameter length to ULONGEST. (evaluate_subexp_c): Expand element_size, i to LONGEST. * c-lang.h (c_val_print): Expand parameter embedded_offset to LONGEST. (c_printstr): Expand parameter length to ULONGEST. (cp_print_value_fields): Expand parameter offset to LONGEST. (cp_print_value_fields_rtti): Likewise. * c-typeprint.c (c_type_print_varspec_suffix): Remove cast down to int and use plongest to print LONGEST. * c-valprint.c (c_val_print): Expand parameter embedded_offset to LONGEST. Expand offset to LONGEST, eltlen to ULONGEST. (c_value_print): Expand top to LONGEST. * cp-abi.c (baseclass_offset): Return LONGEST. Expand parameter embedded_offset to LONGEST. Expand res to LONGEST. (value_virtual_fn_field): Expand parameter offset to LONGEST. (value_rtti_type): Expand parameter top to point to LONGEST. * cp-abi.h (value_virtual_fn_field): Expand offset to LONGEST. (value_rtti_type): Expand top to point to LONGEST. (baseclass_offset): Return LONGEST. Expand parameter embedded_offset to LONGEST. (struct cp_abi_ops): Expand parameter offset for virtual_fn_field to LONGEST. Expand parameter top to point to LONGEST in value_rtti_type. Return LONGEST from baseclass_offset and expand parameter for embedded_offset to LONGEST. * cp-valprint.c (cp_print_value_fields): Expand parameter offset to LONGEST. (cp_print_value_fields_rtti): Likewise. Expand top to LONGEST. (cp_print_value): Expand parameter offset to LONGEST. Expand thisoffset, boffset to LONGEST. * cris-tdep.c (push_stack_item): Expand parameter len to LONGEST. (cris_push_dummy_call): Expand len, reg_demand, i to LONGEST. (cris_store_return_value): Expand len to LONGEST. (cris_extract_return_value): Likewise. * d-lang.h (d_val_print): Expand parameter embedded_offset to LONGEST. * d-valprint.c (dynamic_array_type): Likewise. (d_val_print): Likewise. * doublest.c (floatformat_from_length): Expand parameter len to LONGEST. Use plongest to format string for LONGEST. * dwarf2loc.c (copy_bitwise): Expand parameters dest_offset_bits, bit_count to ULONGEST. Rename parameter source_offset_bits to source_offset and expand to ULONGEST. New variable source_offset_bits. (read_pieced_value): Expand offset, dest_offset_bits, source_offset_bits, source_offset to LONGEST. Expand type_len, this_size, this_size_bits to ULONGEST. (write_pieced_value): Expand type_len, this_size, this_size_bits to ULONGEST. Expand dest_offset_bits, source_offset_bits, dest_offset, source_offset to LONGEST. (check_pieced_value_bits): Expand parameters bit_offset and bit_length to LONGEST. (check_pieced_value_validity): Likewise. (check_pieced_synthetic_pointer): Likewise. (indirect_pieced_value): Expand bit_length, byte_offset and bit_offset to LONGEST. (dwarf2_evaluate_loc_desc_full): Expand n to ULONGEST. * dwarf2read.c (struct dwarf_block): Expand member size to size_t. (dwarf2_const_value_length_mismatch_complaint): Expand parameters arg2 and arg3 to LONGEST. Use plongest to print arg2 and arg3. (dwarf2_add_field): Expand anonymous_size to LONGEST. (dump_die_shallow): Use pulongest to format print dwarf_block.size. * eval.c (evaluate_struct_tuple): Expand bitpos to LONGEST. (init_array_element): Expand element_size to LONGEST. (binop_promote): Expand promoted_len1, promoted_len2, result_len to ULONGEST. (evaluate_subexp_standard): Expand mem_offset, top, element_size to LONGEST. * f-lang.c (f_printstr): Expand parameter length to ULONGEST. * f-lang.h (f_val_print): Expand parameter embedded_offset to LONGEST. * f-valprint.c (f77_array_offset_tbl): Make LONGEST. (f77_create_arrayprint_offset_tbl): Expand eltlen to LONGEST. (f77_print_array_1): Expand parameter embedded_offset to LONGEST. (f77_print_array): Likewise. (f_val_print): Likewise. Expand offset to LONGEST. * findcmd.c (parse_find_args): Expand val_bytes to LONGEST. * findvar.c (default_read_var_value): Expand len to LONGEST. (default_value_from_register): Likewise. (read_frame_register_value): Expand offset, reg_offset, len, reg_len to LONGEST. * frv-tdep.c (frv_extract_return_value): Expand len to LONGEST. Use plongest to format print len. (frv_push_dummy_call): Expand len to LONGEST. (frv_store_return_value): Likewise. Use plongest to format print len. * gdbtypes.c (init_type): Expand parameter length to LONGEST. (is_unique_ancestor_worker): Expand parameters offset, embedded_offset to LONGEST. Expand this_offset to LONGEST. (is_unique_ancestor): Expand offset to LONGEST. (recursive_dump_type): Use pulongest to format print TYPE_LENGTH. Use plongest to format print TYPE_FIELD_BITPOS. (arch_type): Expand parameter length to LONGEST. * gdbtypes.h (type.main_type.fld_bnds.fields): Expand bitpos to LONGEST. (type): Expand length to ULONGEST. (init_type): Expand parameter length to LONGEST. (arch_type): Likewise. * gnu-v2-abi.c (gnuv2_virtual_fn_field): Expand parameter offset to LONGEST. (gnuv2_value_rtti_type): Expand parameter top to point to LONGEST. (gnuv2_baseclass_offset): Return LONGEST. Expand parameter embedded_offset to LONGEST. Expand field_offset, boffset, field_length to LONGEST. * gnu-v3-abi.c (build_gdb_vtable_type): Expand offset to LONGEST. (vtable_address_point_offset): Return LONGEST. (gnuv3_rtti_type): Expand parameter top_p to point to LONGEST. (gnuv3_virtual_fn_field): Expand parameter offset to LONGEST. (gnuv3_baseclass_offset): Return LONGEST. Expand parameter embedded_ofset to LONGEST. Expand cur_base_offset, base_offset to LONGEST. (gnuv3_find_method_in): Expand pos to LONGEST. * go-lang.h (go_val_print): Expand parameter embedded_offset to LONGEST. * go-valprint.c (go_val_print): Likewise. * h8300-tdep.c (h8300_push_dummy_call): Expand stack_alloc, stack_offset, len, padded_len, offset to LONGEST. * hppa-tdep.c (hppa64_push_dummy_call): Expand len to LONGEST. (hppa64_return_value): Likewise. * i386-darwin-tdep.c (i386_darwin_arg_type_alignment): Return LONGEST. Expand res to LONGEST. (i386_darwin_push_dummy_call): Expand arg_spaces, len, align to LONGEST. * i386-nat.c (i386_show_dr): Expand parameter len to LONGEST. Use plongest to format print len. (i386_handle_nonaligned_watchpoint): Expand parameter len to LONGEST. (i386_insert_watchpoint): Likewise. (i386_remove_watchpoint): Likewise. (i386_region_ok_for_watchpoint): Likewise. * i386-tdep.c (i386_push_dummy_call): Expand arg_space, arg_space_used, len to LONGEST. (i386_extract_return_value): Expand len to LONGEST. Use plongest to format print len. (i386_store_return_value): Likewise. * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Expand parameter len to LONGEST. (ia64_linux_remove_watchpoint): Likewise. * ia64-tdep.c (ia64_extract_return_value): Expand n to LONGEST. (ia64_store_return_value): Likewise. (ia64_push_dummy_call): Expand argoffset, len, nslots, memslots to LONGEST. * inf-ttrace.c (inf_ttrace_insert_watchpoint): Expand parameter len to LONGEST. (inf_ttrace_remove_watchpoint): Likewise. (inf_ttrace_region_ok_for_hw_watchpoint): Likewise. * infcall.c (call_function_by_hand): Expand len to LONGEST. * infrun.c (save_infcall_suspend_state): Expand len to ULONGEST. (restore_infcall_suspend_state): Eliminate single-use variable len. * iq2000-tdep.c (iq2000_store_return_value): Expand len to LONGEST. (iq2000_extract_return_value): Likewise. (iq2000_push_dummy_call): Expand typelen, stackspace to LONGEST. * jv-lang.c (java_link_class_type): Expand boffset to LONGEST. (java_printstr): Expand parameter length to ULONGEST. * jv-lang.h (java_val_print): Expand parameter embedded_offset to LONGEST. * jv-valprint.c (java_print_value_fields): Expand parameter offset to LONGEST. (java_val_print): Expand parameter embedded_offset to LONGEST. * language.c (unk_lang_printstr): Expand parameter length to ULONGEST. (unk_lang_val_print): Expand parameter embedded_offset to LONGEST. * language.h (language_defn): Expand parameter length of la_printstr to ULONGEST. Expand parameter embedded_offset of la_val_print to LONGEST. * lm32-tdep.c (lm32_push_dummy_call): Expand len to LONGEST. (lm32_store_return_value): Likewise. * m2-lang.c (m2_printstr): Expand parameter length to ULONGEST. * m2-lang.h (m2_val_print): Expand parameter embedded_offset to LONGEST. * m2-typeprint.c (m2_array): Use pulongest to print TYPE_LENGTH. (m2_enum): expand lastval to LONGEST. * m2-valprint.c (m2_print_long_set): Expand parameter embedded_offset to LONGEST. (m2_print_unbounded_array): Likewise. (m2_print_array_contents): Likewise. Eliminate eltlen and use TYPE_LENGTH directly. (m2_val_print): Expand parameter embedded_offset to LONGEST. Expand i, len, temp_len to ULONGEST. Remove eltlen, use TYPE_LENGTH directly. * m32r-tdep.c (m32r_push_dummy_call): Expand len to LONGEST. (m32r_extract_return_value): Likewise. * m68hc11-tdep.c (m68hc11_push_dummy_call): Expand len to LONGEST. (m68hc11_store_return_value): Likewise. * m68k-tdep.c (m68k_extract_return_value): Expand len to LONGEST. Use plongest to format print len. (m68k_svr4_extract_return_value): Replace single-use variable len with TYPE_LENGTH. (m68k_store_return_value): Expand len to LONGEST. Use plongest to format print len. (m68k_svr4_store_return_value): Replace single-use variable len with TYPE_LENGTH. (m68k_push_dummy_call): Expand len, container_len, offset to LONGEST. * m88k-tdep.c (m88k_store_arguments): Expand num_register_words, num_stack_words, len to LONGEST. (m88k_return_value): Expand len to LONGEST. * memrange.c (mem_ranges_overlap): Expand parameters len1, len2 to LONGEST. * memrange.h (struct mem_range): Expand member length to LONGEST. (mem_ranges_overlap): Expand parameters len1, len2 to LONGEST. * mep-tdep.c (push_large_arguments): Expand arg_len to ULONGEST. (mep_push_dummy_call): Expand arg_size to ULONGEST. * microblaze-tdep.c (microblaze_store_return_value): Expand len to LONGEST. * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Expand parameter len to LONGEST. (mips_linux_insert_watchpoint): Likewise. (mips_linux_remove_watchpoint): Likewise. * mips-tdep.c (mips_xfer_register): Expand parameter buf_offset to LONGEST. Use plongest to format print buf_offset. (mips_eabi_push_dummy_call): Expand len to LONGEST. Use plongest to format print len. (mips_n32n64_fp_arg_chunk_p): Expand parameter offset to LONGEST. Expand pos to LONGEST. (mips_n32n64_return_value): Expand offset to LONGEST. Use plongest to format print offset. (mips_o32_push_dummy_call): Expand len to LONGEST. Eliminate single-use variable arglen. Use plongest to format print len. (mips_o64_push_dummy_call): Expand len, stack_offset to LONGEST. Eliminate single-use variable arglen. Use plongest to format print len. * mn10300-tdep.c (mn10300_type_align): Return LONGEST. Expand align, falign to LONGEST. (mn10300_push_dummy_call): Expand len, arg_len to LONGEST. * moxie-tdep.c (moxie_store_return_value): Expand len to LONGEST. (moxie_extract_return_value): Likewise. * mt-tdep.c (mt_push_dummy_call): Expand stack_dest, typelen to LONGEST. * nto-procfs.c (procfs_hw_watchpoint): Expand parameter len to LONGEST. (procfs_remove_hw_watchpoint): Likewise. (procfs_insert_hw_watchpoint): Likewise. * objc-lang.c (objc_printstr): Expand parameter length to ULONGEST. * opencl-lang.c (lookup_opencl_vector_type): Expand parameter el_length to ULONGEST. Expand length to ULONGEST. (lval_func_read): Expand offset, n, i, j and elsize to LONGEST. (lval_func_write): Likewise. (lval_func_check_validity): Expand parameter length to LONGEST. Expand elsize, start, end, i to LONGEST. (lval_func_check_any_valid): Expand elsize to LONGEST. (lval_func_check_synthetic_pointer): Expand parameters offset and length to LONGEST. Expand elsize, start, end, i to LONGEST. * p-lang.c (is_pascal_string_type): Expand parameters length_pos, string_pos, length_size to point to LONGEST. (pascal_printstr): Expand parameter length to ULONGEST. * p-lang.h (pascal_val_print): Expand parameter embedded_offset to LONGEST. (is_pascal_string_type): Expand parameters length_pos, string_pos, length_size to point to LONGEST. (pascal_printstr): Expand parameter length to ULONGEST. (pascal_object_print_value_fields): Expand parameter offset to LONGEST. * p-typeprint.c (pascal_type_print_base): Expand lastval to LONGEST. * p-valprint.c (pascal_val_print): Expand parameter embedded_offset to LONGEST. Expand eltlen to ULONGEST. Expand length_size, length_pos, string_pos to LONGEST. (pascal_object_print_value_fields): Expand parameter offset to LONGEST. (pascal_object_print_value): Likewise. Expand boffset, thisoffset to LONGEST. * ppc-linux-nat.c (check_condition): Expand parameter len to point to LONGEST. (ppc_linux_can_accel_watchpoint_condition): Expand parameter len to LONGEST. (create_watchpoint_request): Likewise. (ppc_linux_insert_watchpoint): Likewise. (ppc_linux_remove_watchpoint): Likewise. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Expand argoffset, structoffset, len, i, nelt to LONGEST. (do_ppc_sysv_return_value): Expand i, nelt, offset to LONGEST. (ppc64_sysv_abi_push_dummy_call): Expand len to LONGEST. (ppc64_sysv_abi_return_value): Expand n_regs, i, offset to LONGEST. * printcmd.c (print_formatted): Expand len to LONGEST. (float_type_from_length): Expand len to ULONGEST. (print_scalar_formatted): Likewise. * procfs.c (procfs_set_watchpoint): Expand parameter len to LONGEST. (procfs_insert_watchpoint): Likewise. (procfs_remove_watchpoint): Likewise. (procfs_region_ok_for_hw_watchpoint): Likewise. * python/py-prettyprint.c (apply_val_pretty_printer): Expand parameter embedded_offset to LONGEST. * python/python.h (apply_val_pretty_printer): Likewise. * regcache.c (regcache_xfer_part): Expand parameter offset to LONGEST. (regcache_cooked_read_part): Likewise. (regcache_cooked_write_part): Likewise. * regcache.h (regcache_cooked_read_part): Likewise. (regcache_cooked_write_part): Likewise. * remote-m32r-sdi.c (m32r_insert_watchpoint): Expand parameter len to LONGEST. Use plongest to format print len. (m32r_remove_watchpoint): Likewise. * remote-mips.c (struct lsi_breakpoint_info): Expand member len to LONGEST. (calculate_mask): Expand parameter len to LONGEST. (mips_insert_watchpoint): Likewise. (mips_remove_watchpoint): Likewise. (mips_set_breakpoint): Likewise. (mips_clear_breakpoint): Likewise. * remote.c (remote_insert_watchpoint): Expand parameter len to LONGEST. Use phex_nz to format print len. (remote_remove_watchpoint): Likewise. (remote_region_ok_for_hw_watchpoint): Expand parameter len to LONGEST. * rl78-tdep.c (rl78_push_dummy_call): Expand len, container_len to LONGEST. * rs6000-aix-tdep.c (rs6000_push_dummy_call): Expand len to LONGEST. (ran_out_of_registers_for_arguments): Expand space, jj to LONGEST. * s390-nat.c (s390_insert_watchpoint): Expand parameter len to LONGEST. (s390_remove_watchpoint): Likewise. (s390_region_ok_for_hw_watchpoint): Likewise. * s390-tdep.c (s390_value_from_register): Expand len to LONGEST. (s390_function_arg_pass_by_reference): Eliminate single-use variable length. (s390_function_arg_float): Likewise. (s390_push_dummy_call): Likewise. Expand length to ULONGEST. (s390_frame_align): Eliminate single-us variable length. (s390_return_value_convention): Eliminate single-us variable length. (s390_return_value): Expand length to LONGEST. * score-tdep.c (score_push_dummy_call): Expand arglen to LONGEST. * sh-tdep.c (sh_extract_return_value_nofpu): Expand len to LONGEST. (sh_store_return_value_nofpu): Likewise. * sh64-tdep.c (sh64_push_dummy_call): Expand stack_offset, stack_alloc, len to LONGEST. (sh64_extract_return_value): Expand len to LONGEST. (sh64_store_return_value): Likewise. * sparc-tdep.c (sparc32_store_arguments): Likewise. * sparc64-tdep.c (sparc64_store_floating_fields): Expand parameter bitpos to LONGEST. Expand subpos to LONGEST. (sparc64_extract_floating_fields): Likewise. (sparc64_store_arguments): Expand len to LONGEST. * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Expand parameter len to LONGEST. * spu-tdep.c (spu_value_from_register): Expand len to LONGEST. * stack.c (read_frame_arg): Expand len, len_deref to ULONGEST. (print_frame_args): Expand current_offset, arg_size to LONGEST. * symmisc.c (print_symbol): Expand i to ULONGEST. Use pulongest to format print TYPE_LENGTH. * target.c (default_region_ok_for_hw_watchpoint): Expand parameter len to LONGEST. (debug_to_insert_watchpoint): Likewise. (debug_to_remove_watchpoint): Likewise. (debug_to_region_ok_for_hw_watchpoint): Likewise. (debug_to_can_accel_watchpoint_condition): Likewise. (update_current_target): Adjust function signatures for to_insert_watchpoint, to_remove_watchpoint and to_can_accel_watchpoint_condition. * target.h (struct target_ops): Expand parameter len to LONGEST for to_remove_watchpoint, to_insert_watchpoint, to_region_ok_for_hw_watchpoint and to_can_accel_watchpoint_condition. * tracepoint.c (collect_symbol): Expand len to ULONGEST. Use pulongest to format print len. (encode_actions_1): Make addr as CORE_ADDR. Expand len to ULONGEST. (scope_info): Expand j to LONGEST. Use pulongest to format print TYPE_LENGTH. * typeprint.c (whatis_exp): Expand top to LONGEST. * v850-tdep.c (v850_push_dummy_call): Expand len to LONGEST. (v850_extract_return_value): Likewise. (v850_store_return_value): Likewise. * valarith.c (value_subscripted_rvalue): Expand elt_size, elt_offs to ULONGEST. (value_logical_not): Expand len to LONGEST. (value_strcmp): Expand len1, len2 to LONGEST. * valops.c (value_allocate_space_in_inferior): Expand parameter len to LONGEST. (value_cast_structs): Expand top to LONGEST. (value_cast): Expand element_length to ULONGEST. Expand val_length to LONGEST. (dynamic_cast_check_1): Expand parameter embedded_offset to LONGEST. Expand offset to LONGEST. (dynamic_cast_check_2): Likewise. (value_dynamic_cast): Expand top to LONGEST. (value_fetch_lazy): Expand length to LONGEST. (value_assign): Expand changed_len, offset to LONGEST. (value_array): Expand typelength to ULONGEST. (do_search_struct_field): Expand parameter offset to LONGEST. Expand new_offset, boffset to LONGEST. (search_struct_field): Expand parameter offset to LONGEST. (search_struct_method): Likewise. Expand base_offset, this_offset to LONGEST. (find_method_list): Expand parameter offset to LONGEST, parameter boffset to point to LONGEST. Expand base_offset to LONGEST. (value_find_oload_method_list): Expand parameter boffset to point to LONGEST. (find_overload_match): Expand boffset to LONGEST. (value_struct_elt_for_reference): Expand parameter offset to LONGEST. Remove unneeded cast. Expand base_offset to LONGEST. (value_rtti_indirect_type): Expand parameter top to point to LONGEST. (value_full_object): Expand parameter xtop to LONGEST. Expand top to LONGEST. * valprint.c (valprint_check_validity): Expand parameter embedded_offset to LONGEST. (generic_val_print): Likewise. (val_print): Likewise. (val_print_scalar_formatted): Likewise. (print_hex_chars): Expand parameter len to ULONGEST. (val_print_array_elements): Expand parameter embedded_offset to LONGEST. Expand len, eltlen to ULONGEST. (generic_printstr): Expand parameter length to ULONGEST. * valprint.h (val_print_array_elements): Expand parameter embedded_offset to LONGEST. (val_print_scalar_formatted): Likewise. (print_hex_chars): Expand parameter len to ULONGEST. (generic_val_print): Expand parameter embedded_offset to LONGEST. (generic_printstr): Expand parameter length to ULONGEST. * value.c (struct range): Expand members offset, length to LONGEST. (ranges_overlap): Expand parameters offset1, offset2, len1 and len2 to LONGEST. (range_contain): Expand parameter offset, length to LONGEST. (struct value): Expand members offset, embedded_offset, pointed_to_offset to LONGEST. (value_bytes_available): Expand parameters offset, length to LONGEST. (mark_value_bytes_unavailable): Likewise. (find_first_range_overlap): Likewise. (value_available_contents_eq): Expand parameters offset1, offset2 and length to LONGEST. (value_offset): Return LONGEST. (set_value_offset): Expand parameter offset to LONGEST. (value_contents_copy_raw): Expand parameters src_offset, dst_offset, length to LONGEST. (value_contents_copy): Likewise. (value_contents_equal): Expand len to LONGEST. (value_bits_valid): Expand parameters offset, length to LONGEST. (value_bits_synthetic_pointer): Likewise. (value_embedded_offset): Return LONGEST. (set_value_embedded_offset): Expand parameter val to LONGEST. (value_pointed_to_offset): Return LONGEST. (set_value_pointed_to_offset): Expand parameter val to LONGEST. (set_internalvar_component): Expand parameter offset to LONGEST. (value_primitive_field): Likewise. Expand bitpos, boffset, container_bitpos to LONGEST. (value_fn_field): Expand parameter offset to LONGEST. (unpack_value_bits_as_long_1): Expand parameters embedded_offset, bitpos to LONGEST. Expand read_offset to LONGEST. (unpack_value_bits_as_long): Expand parameter embeded_offset to LONGEST. (unpack_value_field_as_long_1): Likewise. Expand bitpos to LONGEST. (unpack_value_field_as_long): Expand parameter embedded_offset to LONGEST. (value_field_bitfield): Likewise. (modify_field): Expand parameter bitpos to LONGEST. Expand bytesize to LONGEST. * value.h (value_offset): Return LONGEST. (set_value_offset): Expand parameter offset to LONGEST. (value_pointed_to_offset): Return LONGEST. (set_value_pointed_to_offset): Expand parameter val to LONGEST. (value_embedded_offset): Return LONGEST. (set_value_embedded_offset): Expand parameter val to LONGEST. (struct lval_funcs): Expand parameters offset and length to LONGEST for check_validity. Likewise for check_synthetic_pointer. (valprint_check_validity): Expand parameter embedded_offset to LONGEST. (value_bits_valid): Expand parameters offset, length to LONGEST. (value_bits_synthetic_pointer): Likewise. (value_bytes_available): Likewise. (mark_value_bytes_unavailable): Likewise. (value_available_contents_eq): Expand parameters offset1, offset2, length to LONGEST. (unpack_value_bits_as_long): Expand parameter embeded_offset to LONGEST. (unpack_value_field_as_long): Likewise. (value_field_bitfield): Likewise. (value_contents_copy_raw): Expand parameters src_offset, dst_offset, length to LONGEST. (value_contents_copy): Likewise. (value_primitive_field): Expand parameter offset to LONGEST. (value_rtti_indirect_type): Expand parameter top to point to LONGEST. (value_full_object): Expand parameter xtop to LONGEST. (set_internalvar_component): Expand parameter offset to LONGEST. (value_fn_field): Expand parameter offset to LONGEST. (modify_field): Expand parameter bitpos to LONGEST. (val_print): Expand parameter embedded_offset to LONGEST. (value_allocate_space_in_inferior): Expand parameter len to LONGEST. * vax-tdep.c (vax_store_arguments): Expand count, len to LONGEST. (vax_return_value): Expand len to LONGEST. * xstormy16-tdep.c (xstormy16_extract_return_value): Expand len, i to LONGEST. (xstormy16_store_return_value): Likewise. (xstormy16_push_dummy_call): Expand j, typelen to LONGEST. * xtensa-tdep.c (xtensa_extract_return_value): Expand len to LONGEST. Use plongest to format print len. (xtensa_store_return_value): Expand len to LONGEST. Use pulongest to print TYPE_LENGTH. (struct argument_info): Expoand member length to LONGEST. (struct argument_info.u): Expand member offset to LONGEST. (xtensa_push_dummy_call): Expand size and onstack_size to LONGEST. Use int_string to format print TYPE_LENGTH. gdb/testsuite/ChangeLog: 2012-05-31 Siddhesh Poyarekar * gdb.base/structs-longest-bitpos.c: New test case. * gdb.base/structs-longest-bitpos.exp: New test case. gdb/doc/ChangeLog: 2012-05-31 Siddhesh Poyarekar * observer.texi (memory_changed): Expand parameter len to LONGEST.