This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] arm-tdep: replace arm_mapping_symbol VEC with std::vector


On 2019-06-25 10:26 a.m., Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:
> 
> Simon> This patch replaces VEC (arm_mapping_symbol) with an std::vector.  No
> Simon> functional changes intended.
> 
> Thanks for doing this.  I had a couple of nits, nothing serious.
> 
> Simon>  struct arm_per_objfile
> Simon>  {
> Simon> -  VEC(arm_mapping_symbol_s) **section_maps;
> Simon> +  arm_per_objfile (size_t num_sections)
> 
> Should be explicit.  Also probably this class should use
> DISABLE_COPY_AND_ASSIGN.

Thanks, I have done both locally.

Simon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]