Re: [PATCH 7/9] gdb: add all_bp_locations_at_addr function

Simon Marchi via Gdb-patches
2021-05-27T18:14:09Z

On 2021-05-27 2:04 p.m., Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:
>
> Simon> + using iterator = std::vector<bp_location *>::iterator;
>
>
> Simon> +private:
> Simon> + std::vector<bp_location *>::iterator m_begin;
> Simon> + std::vector<bp_location *>::iterator m_end;
>
> It's slightly more future-proof to just write 'iterator' for these types.
>
> Tom
>

Good idea, done.

Simon