This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Get rid of VEC(mem_range_s)
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Mon, 16 Oct 2017 13:58:27 +0100
- Subject: Re: [PATCH] Get rid of VEC(mem_range_s)
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 9741DC04AC55
- References: <1508120918-14039-1-git-send-email-simon.marchi@ericsson.com>
On 10/16/2017 03:28 AM, Simon Marchi wrote:
> This patch replaces the last usages of VEC(mem_range_s) with
> std::vector<mem_range>. This allows getting rid of a few cleanups and
> of the DEF_VEC_O(mem_range_s).
>
> I added a test for normalize_mem_ranges to make sure I didn't break
> anything there.
Excellent! Thanks for doing that. LGTM.
> +static void
> +normalize_mem_ranges_tests (void)
(void) -> ()
Thanks,
Pedro Alves