public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Make remote.c ptid constants "const"
@ 2019-03-12 17:59 sergiodj+buildbot
  2019-03-12 17:59 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: sergiodj+buildbot @ 2019-03-12 17:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ffdd69cf7840f3b158de16819591361c8dae3a4d ***

Author: Tom Tromey <tromey@adacore.com>
Branch: master
Commit: ffdd69cf7840f3b158de16819591361c8dae3a4d

Make remote.c ptid constants "const"

This changes magic_null_ptid, not_sent_ptid, and any_thread_ptid to be
"const".  This is a minor improvement that makes it so these can't be
accidentally modified.

Tested by rebuilding.  I'm checking this in.

gdb/ChangeLog
2019-03-12  Tom Tromey  <tromey@adacore.com>

	* remote.c (magic_null_ptid, not_sent_ptid, any_thread_ptid): Now
	const.  Add initializers.
	(_initialize_remote): Don't initialize ptid globals.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-03-14  0:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-12 17:59 [binutils-gdb] Make remote.c ptid constants "const" sergiodj+buildbot
2019-03-12 17:59 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
2019-03-12 23:37 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2019-03-13  0:29 ` Failures on Debian-s390x-m64, " sergiodj+buildbot
2019-03-13 23:03 ` Failures on Fedora-i686, " sergiodj+buildbot
2019-03-13 23:38 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2019-03-13 23:49 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2019-03-14  0:18 ` Failures on Fedora-x86_64-m64, " sergiodj+buildbot
2019-03-14  0:26 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2019-03-14  0:44 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2019-03-14  0:53 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).