+2014-10-13 Doug Evans <dje@google.com>
+
+ * python/py-objfile.c (objfpy_initialize): New function.
+ (objfpy_new, objfile_to_objfile_object): Call it.
+ * python/py-progspace.c (pspy_initialize): New function.
+ (pspy_new, pspace_to_pspace_object): Call it.
+
+2014-10-13 Miroslav Franc <mfranc@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix "save breakpoints" for "catch" command.
+ * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
+ newline.
+
+2014-10-12 Miroslav Franc <mfranc@redhat.com>
+
+ Fix "save breakpoints" for "disable $bpnum" command.
+ * breakpoint.c (save_breakpoints): Add $bpnum for disable.
+
+2014-10-10 Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
+ (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
+ (HFILES_NO_SRCDIR): Remove solib-irix.h.
+ * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
+ and been removed.
+ * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
+ * configure.ac: Remove references to IRIX.
+ * configure.host: Add *-*-irix* to the obsolete hosts section.
+ Remove all other references to irix.
+ * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
+ Delete files.
+
+2014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
+
+ * microblaze-tdep.c (microblaze_gdbarch_init): If the description
+ isn't valid, release the tdesc arch data and return NULL.
+
+2014-10-10 Pedro Alves <palves@redhat.com>
+
+ * linux-tdep.c: Include observer.h.
+ (linux_inferior_data): New global.
+ (struct linux_info): New structure.
+ (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
+ (get_linux_inferior_data): New functions.
+ (linux_vsyscall_range): Rename to ...
+ (linux_vsyscall_range_raw): ... this.
+ (linux_vsyscall_range): New function; handles caching.
+ (_initialize_linux_tdep): Register linux_inferior_data. Install
+ inferior_exit and inferior_appeared observers.
+
+2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ PR symtab/14466
+ * solib-svr4.c (svr4_read_so_list): Rename to ...
+ (svr4_current_sos_1): ... this and change the function comment.
+ (svr4_current_sos): New function.
+
+2014-10-10 Pedro Alves <palves@redhat.com>
+
+ * arch-utils.c (default_vsyscall_range): New function.
+ * arch-utils.h (default_vsyscall_range): New declaration.
+ * gdbarch.sh (vsyscall_range): New hook.
+ * gdbarch.h, gdbarch.c: Regenerate.
+ * linux-tdep.c (linux_vsyscall_range): New function.
+ (linux_init_abi): Install linux_vsyscall_range as
+ vsyscall_range gdbarch hook.
+ * memrange.c (address_in_mem_range): New function.
+ * memrange.h (address_in_mem_range): New declaration.
+ * symfile-mem.c (find_vdso_size): Delete function.
+ (add_vsyscall_page): Use gdbarch_vsyscall_range.
+
+2014-10-10 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (normal_stop): Fix typo in comment.
+
+2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR tdep/9390
+ * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
+ typo when using logical AND to determine instruction type.
+
+2014-10-09 Yao Qi <yao@codesourcery.com>
+
+ * infrun.c (handle_signal_stop): Remove local variable
+ 'printed'.
+
+2014-10-08 Stan Shebs <stan@codesourcery.com>
+
+ * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
+
+2014-10-08 Gary Benson <gbenson@redhat.com>
+
+ * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
+
+2014-10-08 Gary Benson <gbenson@redhat.com>
+
+ * common/common-defs.h: Include common-exceptions.h.
+ * exceptions.h: Do not include common-exceptions.h.
+
+2014-10-08 Gary Benson <gbenson@redhat.com>
+
+ * common/common-defs.h: Include cleanups.h.
+ * common/common-exceptions.c: Do not include cleanups.h.
+ * utils.h: Likewise.
+
+2014-10-08 Gary Benson <gbenson@redhat.com>
+
+ * ada-lang.c: Do not include exceptions.h.
+ * ada-valprint.c: Likewise.
+ * amd64-tdep.c: Likewise.
+ * auto-load.c: Likewise.
+ * block.c: Likewise.
+ * break-catch-throw.c: Likewise.
+ * breakpoint.c: Likewise.
+ * btrace.c: Likewise.
+ * c-lang.c: Likewise.
+ * cli/cli-cmds.c: Likewise.
+ * cli/cli-interp.c: Likewise.
+ * cli/cli-script.c: Likewise.
+ * completer.c: Likewise.
+ * corefile.c: Likewise.
+ * corelow.c: Likewise.
+ * cp-abi.c: Likewise.
+ * cp-support.c: Likewise.
+ * cp-valprint.c: Likewise.
+ * darwin-nat.c: Likewise.
+ * dwarf2-frame-tailcall.c: Likewise.
+ * dwarf2-frame.c: Likewise.
+ * dwarf2loc.c: Likewise.
+ * dwarf2read.c: Likewise.
+ * eval.c: Likewise.
+ * event-loop.c: Likewise.
+ * event-top.c: Likewise.
+ * f-valprint.c: Likewise.
+ * frame-unwind.c: Likewise.
+ * frame.c: Likewise.
+ * gdbtypes.c: Likewise.
+ * gnu-v2-abi.c: Likewise.
+ * gnu-v3-abi.c: Likewise.
+ * guile/scm-auto-load.c: Likewise.
+ * guile/scm-breakpoint.c: Likewise.
+ * guile/scm-cmd.c: Likewise.
+ * guile/scm-frame.c: Likewise.
+ * guile/scm-lazy-string.c: Likewise.
+ * guile/scm-param.c: Likewise.
+ * guile/scm-symbol.c: Likewise.
+ * guile/scm-type.c: Likewise.
+ * hppa-hpux-tdep.c: Likewise.
+ * i386-tdep.c: Likewise.
+ * inf-loop.c: Likewise.
+ * infcall.c: Likewise.
+ * infcmd.c: Likewise.
+ * infrun.c: Likewise.
+ * interps.c: Likewise.
+ * interps.h: Likewise.
+ * jit.c: Likewise.
+ * linespec.c: Likewise.
+ * linux-nat.c: Likewise.
+ * linux-thread-db.c: Likewise.
+ * m32r-rom.c: Likewise.
+ * main.c: Likewise.
+ * memory-map.c: Likewise.
+ * mi/mi-cmd-break.c: Likewise.
+ * mi/mi-cmd-stack.c: Likewise.
+ * mi/mi-interp.c: Likewise.
+ * mi/mi-main.c: Likewise.
+ * monitor.c: Likewise.
+ * nto-procfs.c: Likewise.
+ * objc-lang.c: Likewise.
+ * p-valprint.c: Likewise.
+ * parse.c: Likewise.
+ * ppc-linux-tdep.c: Likewise.
+ * printcmd.c: Likewise.
+ * probe.c: Likewise.
+ * python/py-auto-load.c: Likewise.
+ * python/py-breakpoint.c: Likewise.
+ * python/py-cmd.c: Likewise.
+ * python/py-finishbreakpoint.c: Likewise.
+ * python/py-frame.c: Likewise.
+ * python/py-framefilter.c: Likewise.
+ * python/py-function.c: Likewise.
+ * python/py-gdb-readline.c: Likewise.
+ * python/py-inferior.c: Likewise.
+ * python/py-infthread.c: Likewise.
+ * python/py-lazy-string.c: Likewise.
+ * python/py-linetable.c: Likewise.
+ * python/py-param.c: Likewise.
+ * python/py-prettyprint.c: Likewise.
+ * python/py-symbol.c: Likewise.
+ * python/py-type.c: Likewise.
+ * python/py-value.c: Likewise.
+ * python/python-internal.h: Likewise.
+ * python/python.c: Likewise.
+ * record-btrace.c: Likewise.
+ * record-full.c: Likewise.
+ * regcache.c: Likewise.
+ * remote-fileio.c: Likewise.
+ * remote-mips.c: Likewise.
+ * remote.c: Likewise.
+ * rs6000-aix-tdep.c: Likewise.
+ * rs6000-nat.c: Likewise.
+ * skip.c: Likewise.
+ * solib-darwin.c: Likewise.
+ * solib-dsbt.c: Likewise.
+ * solib-frv.c: Likewise.
+ * solib-ia64-hpux.c: Likewise.
+ * solib-spu.c: Likewise.
+ * solib-svr4.c: Likewise.
+ * solib.c: Likewise.
+ * spu-tdep.c: Likewise.
+ * stack.c: Likewise.
+ * stap-probe.c: Likewise.
+ * symfile-mem.c: Likewise.
+ * symmisc.c: Likewise.
+ * target.c: Likewise.
+ * thread.c: Likewise.
+ * top.c: Likewise.
+ * tracepoint.c: Likewise.
+ * tui/tui-interp.c: Likewise.
+ * typeprint.c: Likewise.
+ * utils.c: Likewise.
+ * valarith.c: Likewise.
+ * valops.c: Likewise.
+ * valprint.c: Likewise.
+ * value.c: Likewise.
+ * varobj.c: Likewise.
+ * windows-nat.c: Likewise.
+ * xml-support.c: Likewise.
+
+2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (add_offset_16): Rewrite to implement what the
+ name implies.
+ (extended_mips16_next_pc): Update accordingly.
+
+2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (mips16_instruction_is_compact_branch): New
+ function.
+ (micromips_instruction_is_compact_branch): Likewise.
+ (mips16_scan_prologue): Terminate scanning upon seeing a branch
+ or a compact jump, reaching a jump delay slot, or seeing a
+ second non-prologue instruction.
+ (micromips_scan_prologue): Also terminate scanning upon seeing a
+ compact branch or jump, or reaching a branch or jump delay slot.
+ (mips32_scan_prologue): Terminate scanning upon reaching a branch
+ or jump delay slot, or seeing a second non-prologue instruction.
+ (mips32_instruction_has_delay_slot): Retain instruction
+ examination code only, update arguments accordingly and move
+ instruction fetch pieces to...
+ (mips32_insn_at_pc_has_delay_slot): ... this new function.
+ (micromips_instruction_has_delay_slot): Likewise and to...
+ (micromips_insn_at_pc_has_delay_slot): ... this new function.
+ (mips16_instruction_has_delay_slot): Likewise and to...
+ (mips16_insn_at_pc_has_delay_slot): ... this new function.
+ (mips_single_step_through_delay): Update accordingly.
+ (mips_adjust_breakpoint_address): Likewise.
+
+2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.c (micromips_instruction_has_delay_slot): When
+ !mustbe32 also return 1 for 32-bit instructions.
+ (mips16_instruction_has_delay_slot): Likewise. Add an
+ explanatory comment.
+
+2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
+ symbols special.
+
+2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * breakpoint.h (bp_target_info): Add `reqstd_address' member,
+ update comments.
+ * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
+ for the breakpoint's address. Don't preinitialize `placed_size'.
+ (insert_bp_location): Set `reqstd_address' rather than
+ `placed_address'.
+ (bp_target_info_copy_insertion_state): Also copy `placed_address'.
+ (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
+ address.
+ (bkpt_remove_location): Likewise.
+ (deprecated_insert_raw_breakpoint): Likewise.
+ (deprecated_remove_raw_breakpoint): Likewise.
+ (find_single_step_breakpoint): Likewise.
+ * mem-break.c (default_memory_insert_breakpoint): Use
+ `reqstd_address' for the breakpoint's address. Don't set
+ `placed_address' or `placed_size' if breakpoint contents couldn't
+ have been determined.
+ * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
+ the breakpoint's address.
+ (remote_insert_hw_breakpoint): Likewise. Don't set
+ `placed_address' or `placed_size' if breakpoint couldn't have been
+ set.
+ * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
+ `reqstd_address' for the breakpoint's address.
+ * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
+ * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
+ * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
+ * microblaze-linux-tdep.c
+ (microblaze_linux_memory_remove_breakpoint): Likewise.
+ * monitor.c (monitor_insert_breakpoint): Likewise.
+ * nto-procfs.c (procfs_insert_breakpoint): Likewise.
+ (procfs_insert_hw_breakpoint): Likewise.
+ * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
+ * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
+ * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
+ * remote-mips.c (mips_insert_breakpoint): Likewise.
+ * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
+
+2014-10-03 Luis Machado <lgustavo@codesourcery.com>
+
+ * valops.c (value_assign): Check for bit field assignments
+ before calling architecture-specific register value
+ conversion functions.
+
+2014-10-03 Pierre Muller <muller@sourceware.org>
+
+ * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
+
+2014-10-02 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (breakpoints_should_be_inserted_now): Use
+ threads_are_executing.
+ * breakpoint.h (breakpoints_should_be_inserted_now): Add
+ describing comment.
+ * gdbthread.h (threads_are_executing): Declare.
+ (handle_signal_stop) <random signals>: Don't print about the
+ signal here if stopping.
+ (end_stepping_range): Don't notify observers here.
+ (normal_stop): Update the thread list. If stopped by a random
+ signal or a stepping range ended, notify observers.
+ * thread.c (threads_executing): New global.
+ (init_thread_list): Clear 'threads_executing'.
+ (set_executing): Set or clear 'threads_executing'.
+ (threads_are_executing): New function.
+ (update_threads_executing): New function.
+ (update_thread_list): Use it.
+
+2014-10-02 Pedro Alves <palves@redhat.com>
+
+ PR breakpoints/17431
+ * breakpoint.c (update_breakpoints_after_exec): Don't create
+ overlay, longjmp, std terminate nor exception breakpoints here.
+
+2014-10-02 Pedro Alves <palves@redhat.com>
+
+ * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
+ Adjust comments.
+ * inferior.c (find_inferior_for_program_space): Give preference to
+ the current inferior.
+ * inferior.h (find_inferior_for_program_space): Update comment.
+ * progspace.c (switch_to_program_space_and_thread): Prefer the
+ current inferior if it's bound to the program space requested. If
+ the inferior found doesn't have a PID yet, don't bother looking up
+ a thread.
+ * progspace.h (switch_to_program_space_and_thread): Adjust
+ comment.
+ * thread.c (any_thread_of_process, any_live_thread_of_process):
+ Give preference to the current thread.
+
+2014-10-01 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (insert_bp_location): Error out if inserting a
+ software breakpoint at a read-only address.
+ * target.c (memory_xfer_check_region): New function, factored out
+ from ...
+ (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
+ ULONGEST.
+ (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
+ against the memory region attributes.
+
+2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
+
+ * NEWS: Announce new exit-code field in -list-thread-groups
+ output.
+ * inferior.c (exit_inferior_1): Don't clear exit code.
+ (inferior_appeared): Clear exit code.
+ * mi/mi-main.c (print_one_inferior): Add printing of the exit
+ code.
+
+2014-10-01 Pedro Alves <palves@redhat.com>
+
+ * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
+ GENERATED" along with emacs/vi read-only markers.
+ * regformats/aarch64.dat: Regenerate.
+ * regformats/arm-with-iwmmxt.dat: Regenerate.
+ * regformats/arm-with-neon.dat: Regenerate.
+ * regformats/arm-with-vfpv2.dat: Regenerate.
+ * regformats/arm-with-vfpv3.dat: Regenerate.
+ * regformats/i386/amd64-avx-linux.dat: Regenerate.
+ * regformats/i386/amd64-avx.dat: Regenerate.
+ * regformats/i386/amd64-avx512-linux.dat: Regenerate.
+ * regformats/i386/amd64-avx512.dat: Regenerate.
+ * regformats/i386/amd64-linux.dat: Regenerate.
+ * regformats/i386/amd64-mpx-linux.dat: Regenerate.
+ * regformats/i386/amd64-mpx.dat: Regenerate.
+ * regformats/i386/amd64.dat: Regenerate.
+ * regformats/i386/i386-avx-linux.dat: Regenerate.
+ * regformats/i386/i386-avx.dat: Regenerate.
+ * regformats/i386/i386-avx512-linux.dat: Regenerate.
+ * regformats/i386/i386-avx512.dat: Regenerate.
+ * regformats/i386/i386-linux.dat: Regenerate.
+ * regformats/i386/i386-mmx-linux.dat: Regenerate.
+ * regformats/i386/i386-mmx.dat: Regenerate.
+ * regformats/i386/i386-mpx-linux.dat: Regenerate.
+ * regformats/i386/i386-mpx.dat: Regenerate.
+ * regformats/i386/i386.dat: Regenerate.
+ * regformats/i386/x32-avx-linux.dat: Regenerate.
+ * regformats/i386/x32-avx.dat: Regenerate.
+ * regformats/i386/x32-avx512-linux.dat: Regenerate.
+ * regformats/i386/x32-avx512.dat: Regenerate.
+ * regformats/i386/x32-linux.dat: Regenerate.
+ * regformats/i386/x32.dat: Regenerate.
+ * regformats/microblaze-with-stack-protect.dat: Regenerate.
+ * regformats/mips-dsp-linux.dat: Regenerate.
+ * regformats/mips-linux.dat: Regenerate.
+ * regformats/mips64-dsp-linux.dat: Regenerate.
+ * regformats/mips64-linux.dat: Regenerate.
+ * regformats/nios2-linux.dat: Regenerate.
+ * regformats/rs6000/powerpc-32.dat: Regenerate.
+ * regformats/rs6000/powerpc-32l.dat: Regenerate.
+ * regformats/rs6000/powerpc-64l.dat: Regenerate.
+ * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
+ * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
+ * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
+ * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
+ * regformats/rs6000/powerpc-e500l.dat: Regenerate.
+ * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
+ * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
+ * regformats/s390-linux32.dat: Regenerate.
+ * regformats/s390-linux32v1.dat: Regenerate.
+ * regformats/s390-linux32v2.dat: Regenerate.
+ * regformats/s390-linux64.dat: Regenerate.
+ * regformats/s390-linux64v1.dat: Regenerate.
+ * regformats/s390-linux64v2.dat: Regenerate.
+ * regformats/s390-te-linux64.dat: Regenerate.
+ * regformats/s390x-linux64.dat: Regenerate.
+ * regformats/s390x-linux64v1.dat: Regenerate.
+ * regformats/s390x-linux64v2.dat: Regenerate.
+ * regformats/s390x-te-linux64.dat: Regenerate.
+ * regformats/tic6x-c62x-linux.dat: Regenerate.
+ * regformats/tic6x-c62x.dat: Regenerate.
+ * regformats/tic6x-c64x-linux.dat: Regenerate.
+ * regformats/tic6x-c64x.dat: Regenerate.
+ * regformats/tic6x-c64xp-linux.dat: Regenerate.
+ * regformats/tic6x-c64xp.dat: Regenerate.
+
+2014-10-01 Pedro Alves <palves@redhat.com>
+
+ * features/Makefile: Update comments.
+ (XMLTOC): List all xml files we build C files from.
+ (clean-cfiles): New rule.
+
+2014-10-01 Pedro Alves <palves@redhat.com>
+
+ * features/i386/amd64-avx512-linux.c: Regenerate.
+ * features/i386/amd64-avx512.c: Regenerate.
+ * features/i386/x32-avx512-linux.c: Regenerate.
+ * features/i386/x32-avx512.c: Regenerate.
+
+2014-10-01 Pedro Alves <palves@redhat.com>
+
+ * features/Makefile (WHICH): Remove arm-with-m,
+ arm-with-m-fpa-layout and arm-with-m-vfp-d16.
+
+2014-10-01 Pedro Alves <palves@redhat.com>
+
+ * features/Makefile (clean): New rule.
+
+2014-10-01 Pedro Alves <palves@redhat.com>
+
+ * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
+ (zmm14h): Add missing end quotes.
+
+2014-10-01 Pedro Alves <palves@redhat.com>
+
+ * features/aarch64-core.xml (cpsr): Change back to 32-bit.
+ * features/aarch64.c: Regenerate.
+
+2014-09-30 Don Breazeal <donb@codesourcery.com>
+
+ * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
+ code so as to work with follow_fork_inferior.
+ * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
+ (inf_ttrace_create_inferior): Remove reference to
+ inf_ttrace_vfork_ppid.
+ (inf_ttrace_attach): Ditto.
+ (inf_ttrace_detach): Ditto.
+ (inf_ttrace_kill): Use current_inferior instead of
+ inf_ttrace_vfork_ppid.
+ (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
+ TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
+ inferior away from the parent.
+ * infrun.c (follow_fork): Call follow_fork_inferior instead of
+ target_follow_fork.
+ (follow_fork_inferior): New function.
+ (follow_inferior_reset_breakpoints): Make function static.
+ * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
+ * linux-nat.c (linux_child_follow_fork): Move target-independent
+ code to infrun.c:follow_fork_inferior.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
+ * gdbarch.c: Regenerate.
+ * gdbarch.h: Likewise.
+ * corelow.c (sniff_core_bfd): Drop presence check for deleted
+ gdbarch method 'regset_from_core_section'.
+ (get_core_register_section): Remove handling for the case that
+ regset == NULL and regset_from_core_section is defined.
+ (get_core_registers): Drop check for deleted method.
+ * procfs.c (procfs_do_thread_registers): Adjust comment.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * linux-nat.c (linux_nat_collect_thread_registers): Remove.
+ (linux_nat_make_corefile_notes): Remove.
+ (linux_target_install_ops): Do not set target method
+ 'make_corefile_notes'.
+ * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
+ Remove field.
+ (linux_corefile_thread_callback): Instead of args->collect, call
+ linux_collect_thread_registers.
+ (linux_make_corefile_notes): Remove 'collect' parameter. Return
+ NULL unless there is a regset iterator.
+ (linux_make_corefile_notes_1): Remove.
+ (linux_init_abi): Replace reference to linux_make_corefile_notes_1
+ by linux_make_corefile_notes.
+ * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * fbsd-nat.c (find_signalled_thread, find_stop_signal)
+ (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
+ Remove.
+ * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
+ (xtensa_iterate_over_regset_sections): New.
+ (xtensa_gdbarch_init): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * vax-tdep.c (vax_regset_from_core_section): Remove.
+ (vax_iterate_over_regset_sections): New.
+ (vax_gdbarch_init): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
+ (tilegx_regset_from_core_section): Remove.
+ (tilegx_iterate_over_regset_sections): New.
+ (tilegx_linux_init_abi): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * sparc-tdep.c (sparc_regset_from_core_section): Remove.
+ (sparc_iterate_over_regset_sections): New.
+ (sparc32_gdbarch_init): Adjust gdbarch initialization.
+ * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
+ targets.
+ * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
+ (sparc64fbsd_init_abi): Call fbsd_init_abi.
+ * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
+ target method 'make_corefile_notes'.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
+ 'sizeof_gregset' and 'sizeof_fpregset'.
+ * sh-tdep.c (sh_regset_from_core_section): Remove.
+ (sh_iterate_over_regset_sections): New.
+ (sh_gdbarch_init): Adjust gdbarch initialization.
+ * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
+ sizeof_fpregset.
+ * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
+ 'sizeof_gregset'.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * score-tdep.c (score7_linux_regset_from_core_section): Remove.
+ (score7_linux_iterate_over_regset_sections): New.
+ (score_gdbarch_init): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
+ FreeBSD targets.
+ * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
+ method 'make_corefile_notes'.
+ * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
+ (ppcfbsd_regset_from_core_section): Remove.
+ (ppcfbsd_iterate_over_regset_sections): New.
+ (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
+ initialization.
+ * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
+ (ppcnbsd_iterate_over_regset_sections): New.
+ (ppcnbsd_init_abi): Adjust.
+ * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
+ (ppcobsd_iterate_over_regset_sections): New.
+ (ppcobsd_init_abi): Adjust.
+ * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
+ (rs6000_aix_iterate_over_regset_sections): New.
+ (rs6000_aix_init_osabi): Adjust.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
+ (nios2_regset_from_core_section): Remove.
+ (nios2_iterate_over_regset_sections): New.
+ (nios2_linux_init_abi): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
+ (am33_iterate_over_regset_sections): New.
+ (am33_linux_init_osabi): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
+ (mips_linux_iterate_over_regset_sections): New.
+ (mips_linux_init_abi): Adjust gdbarch initialization.
+ * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
+ (mips64obsd_iterate_over_regset_sections): New.
+ (mips64obsd_init_abi): Adjust.
+ * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
+ (mipsnbsd_iterate_over_regset_sections): New.
+ (mipsnbsd_init_abi): Adjust.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * m88k-tdep.c (m88k_regset_from_core_section): Remove.
+ (m88k_iterate_over_regset_sections): New.
+ (m88k_gdbarch_init): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
+ (ia64_linux_iterate_over_regset_sections): New.
+ (ia64_linux_init_abi): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
+ (m68kbsd_iterate_over_regset_sections): New.
+ (m68kbsd_init_abi): Adjust gdbarch initialization.
+ * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
+ (m68k_linux_iterate_over_regset_sections): New.
+ (m68k_linux_init_abi): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
+ (m32r_linux_regset_from_core_section): Remove.
+ (m32r_linux_iterate_over_regset_sections): New.
+ (m32r_linux_init_abi): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
+ (amd64obsd_iterate_over_regset_sections): New.
+ (amd64obsd_core_init_abi): Adjust gdbarch initialization.
+ * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
+ Remove.
+ (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
+ regset_from_core_section initialization.
+ * i386-tdep.c (i386_regset_from_core_section): Remove.
+ (i386_iterate_over_regset_sections): New.
+ (i386_gdbarch_init): Adjust gdbarch initialization.
+ * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
+ (i386_iterate_over_regset_sections): New prototype.
+ * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
+ Remove.
+ (i386obsd_aout_iterate_over_regset_sections): New.
+ (i386obsd_aout_init_abi): Adjust gdbarch initialization.
+ * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
+ targets.
+ * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
+ (amd64fbsd_init_abi): Call fbsd_init_abi.
+ * i386fbsd-tdep.c (fbsd-tdep.h): Include.
+ (i386fbsd4_init_abi): Call fbsd_init_abi.
+ * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
+ target method 'make_corefile_notes'.
+ * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
+ (hppa_hpux_iterate_over_regset_sections): New.
+ (hppa_hpux_init_abi): Adjust gdbarch initialization.
+ * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
+ (hppa_linux_iterate_over_regset_sections): New.
+ (hppa_linux_init_abi): Adjust.
+ * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
+ (hppanbsd_iterate_over_regset_sections): New.
+ (hppanbsd_init_abi): Adjust.
+ * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
+ (hppaobsd_iterate_over_regset_sections): New.
+ (hppaobsd_init_abi): Adjust.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
+ (frv_linux_iterate_over_regset_sections): New.
+ (frv_linux_init_abi): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
+ (armbsd_iterate_over_regset_sections): New prototype.
+ * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
+ (armbsd_iterate_over_regset_sections): New.
+ * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
+ initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
+ (alpha_linux_iterate_over_regset_sections): New.
+ (alpha_linux_init_abi): Adjust gdbarch initialization.
+ * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
+ prototype.
+ (alphanbsd_iterate_over_regset_sections): New prototype.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
+ Remove.
+ (aarch64_linux_iterate_over_regset_sections): New.
+ (aarch64_linux_init_abi): Adjust gdbarch initialization.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * fbsd-tdep.c: New file.
+ * fbsd-tdep.h: New file.
+ * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
+ (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
+ (ALLDEPFILES): Add fbsd-tdep.c.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
+ parameter.
+ * gdbarch.h: Regenerate.
+ * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
+ iterator.
+ (get_core_register_section): Add parameter 'regset' and use it, if
+ set. Add parameter 'min_size' and verify the bfd section size
+ against it.
+ (get_core_registers_cb): Add parameter 'regset' and pass it to
+ get_core_register section. For the "standard" register sections
+ ".reg" and ".reg2", set an appropriate default for human_name.
+ (get_core_registers): Don't abort when the gdbarch has an iterator
+ but no regset_from_core_section. Add NULL/0 for parameters
+ 'regset'/'min_size' in calls to get_core_register_section.
+ * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
+ 'regset' and use it instead of calling the
+ regset_from_core_section gdbarch method.
+ * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
+ * i386-tdep.c (i386_supply_xstateregset)
+ (i386_collect_xstateregset, i386_xstateregset): Moved to
+ i386-linux-tdep.c.
+ (i386_regset_from_core_section): Drop handling for .reg-xfp and
+ .reg-xstate.
+ (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
+ core file support only if the regset iterator hasn't been set.
+ * i386-linux-tdep.c (i386_linux_supply_xstateregset)
+ (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
+ Moved from i386-tdep.c and renamed to *_linux*.
+ (i386_linux_iterate_over_regset_sections): Add regset parameter to
+ each callback invocation. Allow any .reg-xstate size when reading
+ from a core file.
+ * amd64-tdep.c (amd64_supply_xstateregset)
+ (amd64_collect_xstateregset, amd64_xstateregset): Moved to
+ amd64-linux-tdep.c.
+ (amd64_regset_from_core_section): Remove.
+ (amd64_init_abi): Set new tdep field 'fpregset'. No longer
+ install an amd64-specific regset_from_core_section gdbarch method.
+ * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
+ (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
+ Moved from amd64-tdep.c and renamed to *_linux*.
+ (amd64_linux_iterate_over_regset_sections): Add regset parameter
+ to each callback invocation. Allow any .reg-xstate size when
+ reading from a core file.
+ * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
+ (arm_linux_iterate_over_regset_sections): Add regset parameter to
+ each callback invocation.
+ (arm_linux_init_abi): No longer set the regset_from_core_section
+ gdbarch method.
+ * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
+ (ppc_linux_iterate_over_regset_sections): Add regset parameter to
+ each callback invocation.
+ (ppc_linux_init_abi): No longer set the regset_from_core_section
+ gdbarch method.
+ * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
+ gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
+ (s390_regset_from_core_section): Remove.
+ (s390_iterate_over_regset_sections): Add regset parameter to each
+ callback invocation.
+ (s390_gdbarch_init): No longer set the regset_from_core_section
+ gdbarch method. Drop initialization of deleted tdep fields.
+
+2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
+ (amd64_linux_iterate_over_regset_sections): New.
+ (amd64_linux_init_abi_common): Don't install the regset section
+ list, but the new iterator in gdbarch.
+ * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
+ (arm_linux_vfp_regset_sections): Remove. Move combined logic...
+ (arm_linux_iterate_over_regset_sections): ...here. New function.
+ (arm_linux_init_abi): Set iterator instead of section list.
+ * corelow.c (get_core_registers_cb): New function, logic moved
+ from...
+ (get_core_registers): ...loop body here. Use new iterator method
+ instead of walking through the regset section list.
+ * gdbarch.sh: Remove 'core_regset_sections'. New method
+ 'iterate_over_regset_sections'. New typedef
+ 'iterate_over_regset_sections_cb'.
+ * gdbarch.c: Regenerate.
+ * gdbarch.h: Likewise.
+ * i386-linux-tdep.c (i386_linux_regset_sections)
+ (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
+ Remove.
+ (i386_linux_iterate_over_regset_sections): New.
+ (i386_linux_init_abi): Don't choose a regset section list, but
+ install new iterator in gdbarch.
+ * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
+ (linux_collect_regset_section_cb): New function, logic moved
+ from...
+ (linux_collect_thread_registers): ...loop body here. Use iterator
+ method instead of walking through list.
+ (linux_make_corefile_notes_1): Check for presence of iterator
+ method instead of regset section list.
+ * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
+ (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
+ (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
+ (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
+ (ppc_linux_iterate_over_regset_sections): ...here. New function.
+ (ppc_linux_init_abi): Don't choose from above regset section
+ lists, but install new iterator in gdbarch.
+ * regset.h (struct core_regset_section): Remove.
+ * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
+ have_linux_v1, have_linux_v2, and have_tdb.
+ (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
+ (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
+ (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
+ (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
+ (s390x_linux64v2_regset_sections): Remove. Move combined logic...
+ (s390_iterate_over_regset_sections): ...here. New function. Use
+ new tdep fields.
+ (s390_gdbarch_init): Set new tdep fields. Don't choose from above
+ regset section lists, but install new iterator.
+
+2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
+
+2014-09-26 Simon Marchi <simon.marchi@ericsson.com>
+
+ * progspace.c (print_program_space): Don't prune program spaces
+ before printing them.
+
+2014-09-25 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (user_visible_resume_ptid): Don't check
+ singlestep_breakpoints_inserted_p.
+
+2014-09-25 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (should_be_inserted): Add debug output.
+
+2014-09-25 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (stepping_past_instruction_at)
+ (clear_exit_convenience_vars): Point at infrun.h instead of
+ inferior.h.
+ (handle_signal_stop): Fix typo.
+