This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Helper routines for internal array/string types
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: uweigand at de dot ibm dot com (Ulrich Weigand)
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 2 Jul 2009 14:23:24 +0200 (CEST)
- Subject: Re: [rfc] Helper routines for internal array/string types
> * 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