Make null_ptid and minus_one_ptid "const"
authorTom Tromey <tromey@adacore.com>
Mon, 4 Mar 2019 19:05:47 +0000 (12:05 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 12 Mar 2019 16:45:37 +0000 (10:45 -0600)
commit17547186c25aa96d078a6ff9d61a55880fa009f4
treeb315e11c8585c492fa0dd1308c22ff5555c331e0
parentd3a70e03cf51c8fb6bc183eaff7559edffec2045
Make null_ptid and minus_one_ptid "const"

This makes null_ptid and minus_one_ptid "const".  I think this is an
improvement because it means they can't be accidentally modified.

2019-03-12  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.
gdb/ChangeLog
gdb/common/ptid.c
gdb/common/ptid.h
This page took 0.026714 seconds and 4 git commands to generate.