This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3] Use std::vector in lm_info_target
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at polymtl dot ca>, gdb-patches at sourceware dot org
- Date: Tue, 2 May 2017 17:06:04 +0100
- Subject: Re: [PATCH v3] Use std::vector in lm_info_target
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 491F9C2DF6BC
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 491F9C2DF6BC
- References: <614e9e92-fa8b-35f3-c15c-9dde043962e8@redhat.com> <20170430003455.13878-1-simon.marchi@polymtl.ca> <c99f164341baa567c013551d2696fb3c@polymtl.ca>
On 04/30/2017 01:42 AM, Simon Marchi wrote:
> Err I forgot to update the ChangeLog, here it is:
>
> gdb/ChangeLog:
>
> * solib-target.c: Include <vector>
> (struct lm_info_target) <~lm_info_target>: Remove.
> <segment_bases, section_bases>: Change type to
> std::vector<CORE_ADDR>.
> (library_list_start_segment, library_list_start_section,
> library_list_end_library,
> solib_target_relocate_section_addresses): Adjust.
>
> Is the ChangeLog format acceptable for the destructor?
Fine with me.
Thanks,
Pedro Alves