ptid-selftests: Fix erroneous assert messages
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 880af5b8c93dfd231ad627eb0f68e4a11dadf68c..01c4c70b53f9550263b2577da0b7ae13ecdd856f 100644 (file)
@@ -1,3 +1,45 @@
+2017-04-07  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * unittests/ptid-selftests.c: Fix erroneous assert messages.
+
+2017-04-07  Alan Hayward  <alan.hayward@arm.com>
+
+       * bfin-tdep.c (BFIN_MAX_REGISTER_SIZE): Add.
+       (bfin_pseudo_register_read): Use BFIN_MAX_REGISTER_SIZE.
+       (bfin_pseudo_register_write): Likewise
+
+2017-04-06  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/ptid.h (struct ptid): Change to...
+       (class ptid_t): ... this.
+       <ptid_t>: New constructors.
+       <pid, lwp_p, lwp, tid_p, tid, is_pid, operator==, operator!=,
+       matches>: New methods.
+       <make_null, make_minus_one>: New static methods.
+       <pid>: Rename to...
+       <m_pid>: ...this.
+       <lwp>: Rename to...
+       <m_lwp>: ...this.
+       <tid>: Rename to...
+       <m_tid>: ...this.
+       (ptid_build, ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal,
+       ptid_is_pid, ptid_lwp_p, ptid_tid_p, ptid_match): Take ptid arguments
+       as references, move comment to class ptid_t.
+       * common/ptid.c (null_ptid, minus_one_ptid): Initialize with
+       ptid_t static methods.
+       (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_tid,
+       ptid_equal, ptid_is_pid, ptid_lwp_p, ptid_tid_p, ptid_match):
+       Take ptid arguments as references, implement using ptid_t methods.
+       * unittests/ptid-selftests.c: New file.
+       * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+       unittests/ptid-selftests.c.
+       (SUBDIR_UNITTESTS_OBS): Add unittests/ptid-selftests.o.
+
+2017-04-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * python/python.c (python_run_simple_file): Cast mode literal to
+       non-const char pointer as expected by PyFile_FromString.
+
 2017-04-05  Simon Marchi  <simon.marchi@ericsson.com>
 
        * common/ptid.c (ptid_lwp_p, ptid_tid_p): Remove comparison with
This page took 0.037956 seconds and 4 git commands to generate.