Handle function aliases better (PR gdb/19487, errno printing)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 4a0f3e72ebde63c427a93fda169c10cab84b3cb6..db53fcb64525995ab060787194a0b85d167ca698 100644 (file)
@@ -1,3 +1,62 @@
+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
This page took 0.029282 seconds and 4 git commands to generate.