This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Constify arch_type and friends
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 10 Jun 2016 09:23:58 +0100
- Subject: Re: [RFA] Constify arch_type and friends
- Authentication-results: sourceware.org; auth=none
- References: <1465224072-25491-1-git-send-email-tom at tromey dot com>
Tom Tromey <tom@tromey.com> writes:
> 2016-06-06 Tom Tromey <tom@tromey.com>
>
> * gdbtypes.c (arch_type, arch_integer_type, arch_character_type)
> (arch_boolean_type, arch_float_type, arch_complex_type)
> (arch_flags_type, append_flags_type_field)
> (append_flags_type_flag, arch_composite_type)
> (append_composite_type_field_raw)
> (append_composite_type_field_aligned)
> (append_composite_type_field): Make "name" parameter const.
> * gdbtypes.h (arch_type, arch_integer_type, arch_character_type)
> (arch_boolean_type, arch_float_type, arch_complex_type)
> (append_composite_type_field, append_composite_type_field_aligned)
> (append_composite_type_field_raw, arch_flags_type)
> (append_flags_type_field, append_flags_type_flag): Constify.
Patch is good to me.
--
Yao (éå)