This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] Make null_ptid and minus_one_ptid "const"
On Mon, 4 Mar 2019 13:25:16 -0700
Tom Tromey <tromey@adacore.com> wrote:
> This makes null_ptid and minus_one_ptid "const". I think this is an
> improvement because it means they can't be accidentally modified.
>
> xgdb/ChangeLog
> 2019-03-04 Tom Tromey <tromey@adacore.com>
>
> * common/ptid.c (null_ptid, minus_one_ptid): Now const.
> * common/ptid.h (null_ptid, minus_one_ptid): Now const.
LGTM.
Kevin