binutils-gdb/gdb/common
Tom Tromey 17547186c2 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.
2019-03-12 10:45:37 -06:00
..
agent.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
agent.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
array-view.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
ax.def Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
break-common.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
btrace-common.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
btrace-common.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
buffer.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
buffer.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
byte-vector.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cleanups.c Remove basic cleanup code 2019-03-06 16:04:31 -07:00
cleanups.h Remove basic cleanup code 2019-03-06 16:04:31 -07:00
common-debug.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
common-debug.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
common-defs.h Introduce ATTRIBUTE_UNUSED_RESULT and use it 2019-03-05 08:48:39 -07:00
common-exceptions.c Remove basic cleanup code 2019-03-06 16:04:31 -07:00
common-exceptions.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
common-gdbthread.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
common-inferior.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
common-regcache.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
common-regcache.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
common-types.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
common-utils.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
common-utils.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
common.host Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
common.m4 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
create-version.sh Update create-version.sh to use common/version.h 2019-01-25 15:28:16 -07:00
def-vector.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
default-init-alloc.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
enum-flags.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
environ.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
environ.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
errors.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
errors.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
fileio.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
fileio.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
filestuff.c Remove last cleanup from linux-namespaces.c 2019-03-06 16:04:31 -07:00
filestuff.h Remove last cleanup from linux-namespaces.c 2019-03-06 16:04:31 -07:00
filtered-iterator.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
format.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
format.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
forward-scope-exit.h Fix clang/libc++ build 2019-01-24 18:01:49 +00:00
function-view.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
gdb_assert.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gdb_locale.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gdb_optional.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gdb_proc_service.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
gdb_ref_ptr.h Add ATTRIBUTE_UNUSED_RESULT to ref_ptr::release 2019-03-05 08:48:40 -07:00
gdb_setjmp.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gdb_signals.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
gdb_splay_tree.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gdb_string_view.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gdb_string_view.tcc Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
gdb_sys_time.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gdb_tilde_expand.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
gdb_tilde_expand.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gdb_unique_ptr.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gdb_unlinker.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gdb_vecs.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
gdb_vecs.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gdb_wait.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
hash_enum.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
host-defs.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
job-control.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
job-control.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
mingw-strerror.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
netstuff.c Fix GDB compilation on MinGW (PR gdb/24292) 2019-03-02 15:13:54 +02:00
netstuff.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
new-op.c Remove basic cleanup code 2019-03-06 16:04:31 -07:00
next-iterator.h Remove ALL_OBJFILES_SAFE 2019-01-09 18:28:14 -07:00
observable.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
offset-type.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
pathstuff.c Add a new function child_path. 2019-02-12 13:56:16 -08:00
pathstuff.h Add a new function child_path. 2019-02-12 13:56:16 -08:00
poison.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
posix-strerror.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
preprocessor.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
print-utils.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
print-utils.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
ptid.c Make null_ptid and minus_one_ptid "const" 2019-03-12 10:45:37 -06:00
ptid.h Make null_ptid and minus_one_ptid "const" 2019-03-12 10:45:37 -06:00
queue.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
refcounted-object.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
rsp-low.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
rsp-low.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
run-time-clock.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
run-time-clock.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
safe-iterator.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
scope-exit.h Introduce scope_exit 2019-01-23 19:02:58 +00:00
scoped_fd.h Add ATTRIBUTE_UNUSED_RESULT to scoped_fd 2019-03-05 08:48:40 -07:00
scoped_mmap.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
scoped_mmap.h Add ATTRIBUTE_UNUSED_RESULT to scoped_mmap 2019-03-05 08:48:40 -07:00
scoped_restore.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
selftest.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
selftest.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
signals-state-save-restore.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
signals-state-save-restore.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
signals.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
symbol.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tdesc.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tdesc.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
traits.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
underlying.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
valid-expr.h Rename ESC -> ESC_PARENS 2019-01-23 18:58:28 +00:00
vec.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
vec.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
version.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
x86-xstate.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
xml-utils.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
xml-utils.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00