+2017-08-21 Pedro Alves <palves@redhat.com>
+
+ PR gdb/19487
+ * c-exp.y (variable production): Handle function aliases.
+ * minsyms.c (msymbol_is_text): New function.
+ * minsyms.h (msymbol_is_text): Declare.
+ * symtab.c (find_function_alias_target): New function.
+ * symtab.h (find_function_alias_target): Declare.
+
+2017-08-21 Pedro Alves <palves@redhat.com>
+
+ * eval.c (evaluate_subexp_standard) <OP_TYPE>: Don't dig past
+ typedefs.
+ * typeprint.c (whatis_exp): If handling "whatis", and expression
+ is OP_TYPE, strip one typedef level. Otherwise don't strip
+ typedefs here.
+ * valops.c (value_cast): Save "to" type before resolving
+ stubs/typedefs. Use that type as resulting value's type.
+
+2017-08-18 Tom Tromey <tom@tromey.com>
+ Pedro Alves <palves@redhat.com>
+
+ * spu-multiarch.c (parse_spufs_run): Use scoped_restore.
+ * sol-thread.c (sol_thread_resume, sol_thread_wait)
+ (sol_thread_xfer_partial, rw_common): Use scoped_restore.
+ * procfs.c (procfs_do_thread_registers): Use scoped_restore.
+ * proc-service.c (ps_xfer_memory): Use scoped_restore.
+ * linux-tdep.c (linux_corefile_thread): Remove a cleanup.
+ (linux_get_siginfo_data): Add "thread" argument. Use
+ scoped_restore.
+ * linux-nat.c (linux_child_follow_fork)
+ (check_stopped_by_watchpoint): Use scoped_restore.
+ * infrun.c (displaced_step_prepare_throw, write_memory_ptid)
+ (THREAD_STOPPED_BY, handle_signal_stop): Use scoped_restore.
+ (restore_inferior_ptid, save_inferior_ptid): Remove.
+ * btrace.c (btrace_fetch): Use scoped_restore.
+ * bsd-uthread.c (bsd_uthread_fetch_registers)
+ (bsd_uthread_store_registers): Use scoped_restore.
+ * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
+ scoped_restore.
+ * aix-thread.c (aix_thread_resume, aix_thread_wait)
+ (aix_thread_xfer_partial): Use scoped_restore.
+ * inferior.h (save_inferior_ptid): Remove.
+
+2017-08-18 Yao Qi <yao.qi@linaro.org>
+
+ PR tdep/21818
+ * arm-tdep.c (gdb_print_insn_arm): Mark
+ USER_SPECIFIED_MACHINE_TYPE if exec_bfd isn't NULL.
+
+2017-08-18 Yao Qi <yao.qi@linaro.org>
+
+ * NEWS: Mention GDBserver's new option "--selftest".
+ * Makefile.in (SFILES): Remove selftest.c, add common/selftest.c.
+ * selftest.c: Move it to common/selftest.c.
+ * selftest.h: Move it to common/selftest.h.
+ * selftest-arch.c (reset): New function.
+ (tests_with_arch): Call reset.
+
+2017-08-18 Yao Qi <yao.qi@linaro.org>
+
+ * selftest.c (run_tests): Don't call QUIT. Call debug_printf
+ instead of exception_fprintf and printf_filtered.
+
+2017-08-18 Yao Qi <yao.qi@linaro.org>
+
+ * selftest.c (register_self_test): Rename it to
+ selftests::register_test.
+ (run_self_tests): selftest::run_tests.
+ * selftest.h: Update declarations.
+ * selftest-arch.c (register_self_test_foreach_arch): Rename it to
+ selftests::register_test_foreach_arch.
+ * selftest-arch.h: Update declaration.
+ * aarch64-tdep.c: Update.
+ * arm-tdep.c: Likewise.
+ * disasm-selftests.c: Likewise.
+ * dwarf2loc.c: Likewise.
+ * dwarf2-frame.c: Likewise.
+ * findvar.c: Likewise.
+ * gdbarch-selftests.c: Likewise.
+ * maint.c (maintenance_selftest): Likewise.
+ * regcache.c: Likewise.
+ * rust-exp.y: Likewise.
+ * selftest-arch.c: Likewise.
+ * unittests/environ-selftests.c: Likewise.
+ * unittests/function-view-selftests.c: Likewise.
+ * unittests/offset-type-selftests.c: Likewise.
+ * unittests/optional-selftests.c: Likewise.
+ * unittests/scoped_restore-selftests.c: Likewise.
+ * utils-selftests.c: Likewise.
+
2017-08-17 Pedro Alves <palves@redhat.com>
* cli/cli-cmds.c (source_command): Delete 'old_source_verbose'