+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
+ (breakpoint_inserted_here_p): ... here. Remove special case for
+ software single-step breakpoints.
+ (find_non_raw_software_breakpoint_inserted_here): Inline ...
+ (software_breakpoint_inserted_here_p): ... here. Remove special
+ case for software single-step breakpoints.
+ (bp_target_info_copy_insertion_state)
+ (deprecated_insert_raw_breakpoint)
+ (deprecated_remove_raw_breakpoint): Delete functions.
+ * breakpoint.h (deprecated_insert_raw_breakpoint)
+ (deprecated_remove_raw_breakpoint): Remove declarations.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ PR breakpoints/9649
+ * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
+ Delete array globals.
+ (single_step_breakpoints): New global.
+ (breakpoint_xfer_memory): Remove special handling for single-step
+ breakpoints.
+ (update_breakpoints_after_exec): Delete bp_single_step
+ breakpoints.
+ (detach_breakpoints): Remove special handling for single-step
+ breakpoints.
+ (breakpoint_init_inferior): Delete bp_single_step breakpoints.
+ (bpstat_stop_status): Add comment.
+ (bpstat_what, bptype_string, print_one_breakpoint_location)
+ (adjust_breakpoint_address, init_bp_location): Handle
+ bp_single_step.
+ (new_single_step_breakpoint): New function.
+ (set_momentary_breakpoint, bkpt_remove_location): Remove special
+ handling for single-step breakpoints.
+ (insert_single_step_breakpoint, single_step_breakpoints_inserted)
+ (remove_single_step_breakpoints, cancel_single_step_breakpoints):
+ Rewrite.
+ (detach_single_step_breakpoints, find_single_step_breakpoint):
+ Delete functions.
+ (breakpoint_has_location_inserted_here): New function.
+ (single_step_breakpoint_inserted_here_p): Rewrite.
+ * breakpoint.h: Remove FIXME.
+ (enum bptype) <bp_single_step>: New enum value.
+ (insert_single_step_breakpoint): Update comment.
+ * infrun.c (resume_cleanups)
+ (delete_step_thread_step_resume_breakpoint): Remove single-step
+ breakpoints.
+ (fetch_inferior_event): Install a cleanup that removes infrun
+ breakpoints.
+ (switch_back_to_stepped_thread) <expect thread advanced also>:
+ Clear step-over info.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (delete_step_resume_breakpoint_callback): Delete.
+ (delete_thread_infrun_breakpoints): New function, with parts
+ salvaged from delete_step_resume_breakpoint_callback.
+ (delete_step_thread_step_resume_breakpoint): Delete.
+ (for_each_just_stopped_thread_callback_func): New typedef.
+ (for_each_just_stopped_thread): New function.
+ (delete_just_stopped_threads_infrun_breakpoints): New function.
+ (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
+ (delete_just_stopped_threads_infrun_breakpoints_cleanup):
+ ... this. Adjust.
+ (wait_for_inferior, fetch_inferior_event): Adjust to renames.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (should_be_inserted): Don't insert watchpoints if
+ trying to step past a non-steppable watchpoint.
+ * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
+ field.
+ * infrun.c (struct step_over_info): Add new field
+ 'nonsteppable_watchpoint_p' and adjust comments.
+ (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
+ Adjust.
+ (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
+ (stepping_past_nonsteppable_watchpoint): New function.
+ (step_over_info_valid_p): Also return true if stepping past a
+ nonsteppable watchpoint.
+ (proceed): Adjust call to set_step_over_info. Remove reference to
+ init_infwait_state.
+ (init_wait_for_inferior): Remove reference to init_infwait_state.
+ (waiton_ptid): Delete global.
+ (struct execution_control_state)
+ <stepped_after_stopped_by_watchpoint>: Delete field.
+ (wait_for_inferior, fetch_inferior_event): Always pass
+ minus_one_ptid to target_wait.
+ (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
+ field.
+ (init_infwait_state): Delete function.
+ (handle_inferior_event): Remove infwait_state handling.
+ (handle_signal_stop) <watchpoints handling>: Adjust after
+ stepped_after_stopped_by_watchpoint removal. Don't remove
+ breakpoints here nor set infwait_state. Set the thread's
+ stepping_over_watchpoint flag, and call keep_going instead.
+ (keep_going): Handle stepping_over_watchpoint. Adjust
+ set_step_over_info calls.
+ * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
+ function.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (step_over_info_valid_p): New function.
+ (resume): Use step_over_info_valid_p instead of checking the
+ threads's trap_expected flag.
+
+2014-10-15 Doug Evans <dje@google.com>
+ Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ PR python/17364
+ * python/lib/gdb/__init__.py (packages): Add "printer".
+ * python/lib/gdb/command/bound_registers.py: Moved to ...
+ * python/lib/gdb/printer/bound_registers.py: ... here.
+ Add printer to global set of builtin printers. Rename printer from
+ "bound" to "mpx_bound128".
+ * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
+ registered as global "builtin" printer.
+ (add_builtin_pretty_printer): New function.
+ * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
+ gdb/printer/__init__.py.
+
+2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * Makefile.in (SFILES): Remove d-support.c.
+ (COMMON_OBS): Remove d-support.o.
+ * d-lang.h (d_parse_symbol): Remove declaration.
+ * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
+ * d-support.c: Remove file.
+
+2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * gdb/infrun.c (process_event_stop_test): Apply
+ gdbarch_addr_bits_remove to longjmp resume address.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * regformats/microblaze.dat: Delete file.
+
+2014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
+
+ * features/Makefile (microblaze-expedite): Replace pc with rpc.
+ * regformats/microblaze-with-stack-protect.dat: Regenerate.
+
+2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
+
+ * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
+ as non-trivial.
+
+2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
+
+ PR c++/13403
+ PR c++/15154
+ * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
+ with qualified args.
+
+2014-10-14 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
+ of the case where the second operand is a pointer.
+ <BINOP_SUB>: Likewise.
+
+2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
+ only if it is not NULL.
+ (bkpt_probe_remove_location): Likewise, for clear_semaphore.
+ * probe.h (struct probe_ops) <set_semaphore>: Update comment.
+ (struct probe_ops) <clear_semaphore>: Likewise.
+ * tracepoint.c (start_tracing): Call set_semaphore only if it is
+ not NULL.
+ (stop_tracing): Likewise, for clear_semaphore.
+
+2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * stap-probe.c (stap_parse_argument): Initialize expout explicitly
+ using language_c, instead of current_language.
+
+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)