This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] cleanup: constify "struct attribute" function parameter
- From: Tom Tromey <tromey at redhat dot com>
- To: Sanimir Agovic <sanimir dot agovic at intel dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 26 Jul 2013 08:44:21 -0600
- Subject: Re: [PATCH] cleanup: constify "struct attribute" function parameter
- References: <1374824313-27525-1-git-send-email-sanimir dot agovic at intel dot com>
>>>>> "Sanimir" == Sanimir Agovic <sanimir.agovic@intel.com> writes:
Sanimir> This is a follow up on [1] and constifies the remaining arguments. Main
Sanimir> motivation is to document which functions modifiy its struct attribute
Sanimir> parameter.
Sanimir> 2013-07-25 Sanimir Agovic <sanimir.agovic@intel.com>
Sanimir> * dwarf2read.c (dwarf2_get_ref_die_offset): Constify struct
Sanimir> attribute parameter.
Sanimir> (dwarf2_const_value_data): Constify struct attribute parameter.
Sanimir> (dwarf2_const_value): Constify struct attribute parameter.
Sanimir> (dwarf2_const_value_attr): Constify struct attribute parameter.
Sanimir> (lookup_die_type): Constify struct attribute parameter.
Sanimir> (dwarf2_get_attr_constant_value): Constify struct attribute parameter.
Sanimir> (follow_die_ref_or_sig): Constify struct attribute parameter.
Sanimir> (follow_die_ref): Constify struct attribute parameter.
Sanimir> (follow_die_sig): Constify struct attribute parameter.
Sanimir> (get_DW_AT_signature_type): Constify struct attribute parameter.
Sanimir> (get_type_unit_group): Constify struct attribute parameter.
Sanimir> (fill_in_loclist_baton): Constify struct attribute parameter.
Sanimir> (dwarf2_symbol_mark_computed): Constify struct attribute parameter.
Sanimir> (type_unit_group): Constify struct attribute parameter.
Thanks, this is ok.
Tom