[rfc] Helper routines for internal array/string types

Ulrich Weigand uweigand@de.ibm.com
Thu Jul 2 12:25:00 GMT 2009


> 	* gdbtypes.c (lookup_array_range_type): Add prototype.
> 	(lookup_string_range_type): Likewise.
> 	* gdbtypes.c (lookup_array_range_type): New function.
> 	(lookup_string_range_type): Likewise.
> 
> 	* ax-gdb.c (gen_repeat): Use lookup_array_range_type.
> 	* parse.c (follow_types): Likewise.
> 	* jv-lang.c (java_array_type): Likewise.
> 	* gnu-v3-abi.c (build_gdb_vtable_type): Likewise.
> 	* mt-tdep.c (mt_register_type): Likewise.
> 	* sh-tdep.c (sh_sh4_build_float_register_type): Likewise.
> 	* sh64-tdep.c (sh64_build_float_register_type): Likewise.
> 	* value.c (allocate_repeat_value): Likewise.
> 	* valops.c (value_array, value_cstring): Likewise.
> 	* valops.c (value_string): Use lookup_string_range_type.

Checked in as well.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list