+2014-06-26 Tom Tromey <tromey@redhat.com>
+
+ PR symtab/16902:
+ * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
+ (dwarf2_physname, read_partial_die)
+ (guess_partial_die_structure_name, fixup_partial_die)
+ (guess_full_die_structure_name, anonymous_struct_prefix)
+ (dwarf2_name): Use per-BFD obstack.
+
+2014-06-26 Yao Qi <yao@codesourcery.com>
+
+ * dummy-frame.c (dummy_frame_sniffer): Move local variables
+ dummyframe and this_id into inner block below.
+
+2014-06-26 Yao Qi <yao@codesourcery.com>
+
+ * infrun.c (_initialize_infrun): Replace "signal_program[0]"
+ with "signal_pass[0]" in the initialization of signal_pass.
+
+2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
+
+ * record-btrace.c (record_btrace_generating_corefile)
+ (record_btrace_prepare_to_generate_core)
+ (record_btrace_done_generating_core): New.
+ (record_btrace_xfer_partial, record_btrace_fetch_registers)
+ (record_btrace_store_registers, record_btrace_prepare_to_store):
+ Forward request when generating a core file.
+ (record_btrace_open): Set record_btrace_generating_corefile to zero.
+ (init_record_btrace_ops): Set to_prepare_to_generate_core and
+ to_done_generating_core.
+
+2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
+
+ * target.h (target_ops) <to_prepare_to_generate_core>
+ <to_done_generating_core>: New.
+ (target_prepare_to_generate_core, target_done_generating_core): New.
+ * target.c (target_prepare_to_generate_core)
+ (target_done_generating_core): New.
+ * target-delegates.c: Regenerate.
+ * gcore.c: (write_gcore_file): Rename to ...
+ (write_gcore_file_1): ...this.
+ (write_gcore_file): Call target_prepare_to_generate_core
+ and target_done_generating_core.
+
+2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
+
+ * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
+ * gcore.c (write_gcore_file): Free memory returned from
+ make_corefile_notes.
+ * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
+ * procfs.c (procfs_make_note_section): Remove make_cleanup call.
+
+2014-06-24 Yao Qi <yao@codesourcery.com>
+
+ * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
+ (arm_linux_init_abi): Set skip_trampoline_code with
+ gdbarch_skip_trampoline_code instead of
+ find_solib_trampoline_target.
+
+2014-06-24 Yao Qi <yao@codesourcery.com>
+
+ * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
+ arm_skip_bx_reg returns non-zero.
+
+2014-06-24 Yao Qi <yao@codesourcery.com>
+
+ * arm-tdep.c (arm_skip_bx_reg): New function.
+ (arm_skip_stub): Call arm_skip_bx_reg.
+
+2014-06-23 Don Breazeal <donb@codesourcery.com>
+
+ * MAINTAINERS: Add myself as write-after-approval maintainer.
+
+2014-06-23 Pedro Alves <palves@redhat.com>
+
+ * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
+ DR_CONTROL before setting DR0..DR3.
+ * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
+ * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
+ bits of DR_CONTROL related to the debug register slot being
+ disabled. If all slots are vacant, clear local slowdown as well,
+ and assert DR_CONTROL is 0.
+
+2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
+
+ * python/lib/gdb/command/xmethods.py
+ (get_method_matchers_in_loci): Lookup xmethod matchers in the
+ current progspace only if the string "progspace" matches LOCUS_RE.
+
+2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix --with-system-readline with readline-6.3 patch 5.
+ * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
+ (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
+ types.
+
+2014-06-20 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dw2_get_real_path): Use correct type in
+ OBSTACK_CALLOC.
+ * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
+
+2014-06-20 Gary Benson <gbenson@redhat.com>
+
+ * common/gdb_thread_db.h: Moved to nat. All includes updated.
+ * common/glibc_thread_db.h: Likewise.
+ * common/i386-cpuid.h: Likewise.
+ * common/i386-gcc-cpuid.h: Likewise.
+ * common/linux-btrace.h: Likewise.
+ * common/linux-osdata.h: Likewise.
+ * common/linux-procfs.h: Likewise.
+ * common/linux-ptrace.h: Likewise.
+ * common/mips-linux-watch.h: Likewise.
+ * common/linux-btrace.c: Moved to nat.
+ * common/linux-osdata.c: Likewise.
+ * common/linux-procfs.c: Likewise.
+ * common/linux-ptrace.c: Likewise.
+ * common/mips-linux-watch.c: Likewise.
+ * nat/gdb_thread_db.h: Moved from common.
+ * nat/glibc_thread_db.h: Likewise.
+ * nat/i386-cpuid.h: Likewise.
+ * nat/i386-gcc-cpuid.h: Likewise.
+ * nat/linux-btrace.c: Likewise.
+ * nat/linux-btrace.h: Likewise.
+ * nat/linux-osdata.c: Likewise.
+ * nat/linux-osdata.h: Likewise.
+ * nat/linux-procfs.c: Likewise.
+ * nat/linux-procfs.h: Likewise.
+ * nat/linux-ptrace.c: Likewise.
+ * nat/linux-ptrace.h: Likewise.
+ * nat/mips-linux-watch.c: Likewise.
+ * nat/mips-linux-watch.h: Likewise.
+ * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
+ (object file files): Reordered.
+ * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
+ of glibc_thread_db.h.
+
+2014-06-20 Gary Benson <gbenson@redhat.com>
+
+ * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
+ (i386_dr_low_type): Moved to nat/i386-dregs.h.
+ (i386_dr_low): Likewise.
+ (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
+ (i386_dr_low_set_addr): Likewise.
+ (i386_dr_low_get_addr): Likewise.
+ (i386_dr_low_can_set_control): Likewise.
+ (i386_dr_low_set_control): Likewise.
+ (i386_dr_low_get_control): Likewise.
+ (i386_dr_low_get_status): Likewise.
+ (i386_get_debug_register_length): Likewise.
+ * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
+ (i386_dr_low): Likewise.
+ * nat/i386-dregs.c (i386-low.h): Remove include.
+ (i386-nat.h): Likewise.
+ (nat/i386-dregs.h): New include.
+ (i386_dr_low_can_set_addr): Moved from i386-nat.h.
+ (i386_dr_low_set_addr): Likewise.
+ (i386_dr_low_get_addr): Likewise.
+ (i386_dr_low_can_set_control): Likewise.
+ (i386_dr_low_set_control): Likewise.
+ (i386_dr_low_get_control): Likewise.
+ (i386_dr_low_get_status): Likewise.
+ (i386_get_debug_register_length): Likewise.
+ (debug_hw_points): Likewise.
+
+2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * Makefile.in (SFILES): Add d-exp.y.
+ (YYFILES): Add d-exp.c.
+ (YYOBJ): Add d-exp.o.
+ (local-maintainer-clean): Delete d-exp.c.
+ * d-exp.y: New file.
+ * d-lang.h (d_parse): New declaration.
+ (d_error): New declaration.
+ * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
+ Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
+ PREC_ORDER operators.
+ (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
+
+2014-06-19 Yao Qi <yao@codesourcery.com>
+
+ * gdbthread.h (any_running): Remove the declaration.
+ * thread.c (any_running): Remove.
+
+2014-06-19 Yao Qi <yao@codesourcery.com>
+
+ * gdbthread.h (struct thread_info) <state>: Change its type to
+ 'enum thread_state'. Update comments.
+
+2014-06-19 Pedro Alves <palves@redhat.com>
+
+ * gdbthread.h (ALL_THREADS): Delete.
+ (ALL_NON_EXITED_THREADS): New macro.
+ * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
+ instead of ALL_THREADS.
+ * infrun.c (find_thread_needs_step_over)
+ (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
+ instead of ALL_THREADS.
+ * record-btrace.c (record_btrace_open)
+ (record_btrace_stop_recording, record_btrace_close)
+ (record_btrace_is_replaying, record_btrace_resume)
+ (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
+ * remote.c (append_pending_thread_resumptions): Likewise.
+ * thread.c (thread_apply_all_command): Likewise.
+
+2014-06-19 Gary Benson <gbenson@redhat.com>
+
+ * i386-nat.c (i386_stopped_by_watchpoint):
+ Use i386_dr_stopped_by_watchpoint.
+ (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
+ (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
+
+2014-06-19 Gary Benson <gbenson@redhat.com>
+
+ * nat/i386-dregs.c: New file.
+ * Makefile.in (i386-dregs.o): New rule.
+ * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
+ * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
+ * config/i386/darwin.mh (NATDEPFILES): Likewise.
+ * config/i386/fbsd.mh (NATDEPFILES): Likewise.
+ * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
+ * config/i386/go32.mh (NATDEPFILES): Likewise.
+ * config/i386/linux.mh (NATDEPFILES): Likewise.
+ * config/i386/linux64.mh (NATDEPFILES): Likewise.
+ * config/i386/mingw.mh (NATDEPFILES): Likewise.
+ * config/i386/mingw64.mh (NATDEPFILES): Likewise.
+ * i386-nat.h (debug_hw_points): New declaration.
+ * i386-nat.c (breakpoint.h): Remove include.
+ (command.h): Likewise.
+ (target.h): Likewise.
+ (gdb_assert.h): Likewise.
+ (debug_hw_points): Made nonstatic.
+ (debug_printf): Now in i386-dregs.c.
+ (TARGET_HAS_DR_LEN_8): Likewise.
+ (DR_CONTROL_SHIFT): Likewise.
+ (DR_CONTROL_SIZE): Likewise.
+ (DR_RW_EXECUTE): Likewise.
+ (DR_RW_WRITE): Likewise.
+ (DR_RW_READ): Likewise.
+ (DR_RW_IORW): Likewise.
+ (DR_LEN_1): Likewise.
+ (DR_LEN_2): Likewise.
+ (DR_LEN_4): Likewise.
+ (DR_LEN_8): Likewise.
+ (DR_LOCAL_ENABLE_SHIFT): Likewise.
+ (DR_GLOBAL_ENABLE_SHIFT): Likewise.
+ (DR_ENABLE_SIZE): Likewise.
+ (DR_LOCAL_SLOWDOWN): Likewise.
+ (DR_GLOBAL_SLOWDOWN): Likewise.
+ (DR_CONTROL_RESERVED): Likewise.
+ (I386_DR_CONTROL_MASK): Likewise.
+ (I386_DR_VACANT): Likewise.
+ (I386_DR_LOCAL_ENABLE): Likewise.
+ (I386_DR_GLOBAL_ENABLE): Likewise.
+ (I386_DR_DISABLE): Likewise.
+ (I386_DR_SET_RW_LEN): Likewise.
+ (I386_DR_GET_RW_LEN): Likewise.
+ (I386_DR_WATCH_HIT): Likewise.
+ (i386_wp_op_t): Likewise.
+ (i386_show_dr): Likewise.
+ (i386_length_and_rw_bits): Likewise.
+ (i386_insert_aligned_watchpoint): Likewise.
+ (i386_remove_aligned_watchpoint): Likewise.
+ (i386_handle_nonaligned_watchpoint): Likewise.
+ (i386_update_inferior_debug_regs): Likewise.
+ (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
+ (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
+ (i386_region_ok_for_watchpoint):
+ Use i386_dr_region_ok_for_watchpoint.
+ (i386_stopped_data_address): Use i386_dr_stopped_data_address.
+
+2014-06-19 Gary Benson <gbenson@redhat.com>
+
+ * i386-nat.c (i386_insert_hw_breakpoint): Use
+ i386_insert_watchpoint.
+ (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
+
+2014-06-19 Gary Benson <gbenson@redhat.com>
+
+ * i386-nat.c (i386_dr_show): Renamed to
+ i386_show_dr and made static. All uses updated.
+ (i386_dr_length_and_rw_bits): Renamed to
+ i386_length_and_rw_bits and made static.
+ All uses updated.
+ (i386_dr_insert_aligned_watchpoint): Renamed to
+ i386_insert_aligned_watchpoint and made static.
+ All uses updated.
+ (i386_dr_remove_aligned_watchpoint): Renamed to
+ i386_remove_aligned_watchpoint and made static.
+ All uses updated.
+ (i386_dr_update_inferior_debug_regs): Renamed to
+ i386_update_inferior_debug_regs and made static.
+ All uses updated.
+ * nat/i386-dregs.h (i386_dr_show): Removed.
+ (i386_dr_length_and_rw_bits): Likewise.
+ (i386_dr_insert_aligned_watchpoint): Likewise.
+ (i386_dr_remove_aligned_watchpoint): Likewise.
+ (i386_dr_update_inferior_debug_regs): Likewise.
+
+2014-06-19 Gary Benson <gbenson@redhat.com>
+
+ * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
+ * configure: Regenerate.
+ * config.in: Likewise.
+ * main.c (signal.h): New include.
+ (setup_alternate_signal_stack): New function.
+ (captured_main): Call the above.
+ * cp-support.c (signal.h): New include.
+ (catch_demangler_crashes): New flag.
+ (SIGJMP_BUF): New define.
+ (SIGSETJMP): Likewise.
+ (SIGLONGJMP): Likewise.
+ (gdb_demangle_jmp_buf): New static global.
+ (gdb_demangle_attempt_core_dump): Likewise.
+ (gdb_demangle_signal_handler): New function.
+ (gdb_demangle): If catch_demangler_crashes is set, install the
+ above signal handler before calling bfd_demangle, and restore
+ the original signal handler afterwards. Display the offending
+ symbol and call demangler_warning the first time a segmentation
+ fault is caught.
+ (_initialize_cp_support): New maint set/show command.
+
2014-06-19 Gary Benson <gbenson@redhat.com>
* utils.h (resource_limit_kind): New enum.