+2014-11-10 Doug Evans <xdje42@gmail.com>
+
+ * symmisc.c (print_objfile_statistics): Remove trailing whitespace.
+ (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
+
+2014-11-10 Doug Evans <xdje42@gmail.com>
+
+ * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
+
+2014-11-10 Doug Evans <xdje42@gmail.com>
+
+ PR symtab/17564
+ * symtab.c (lookup_symbol_in_all_objfiles): Delete.
+ (lookup_static_symbol): Move definition to new location and rewrite.
+ (lookup_symbol_in_objfile): New function.
+ (lookup_symbol_global_iterator_cb): Call it.
+
+2014-11-10 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
+
+2014-11-07 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (process_event_stop_test) <subroutine check>: Don't
+ check if we did a "nexti" inside a prologue.
+ * symtab.c (in_prologue): Delete function.
+ * symtab.h (in_prologue): Delete declaration.
+
+2014-11-06 Doug Evans <xdje42@gmail.com>
+
+ * symtab.h (lookup_global_symbol): Improve function comment.
+
+2014-11-06 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
+ All callers updated.
+ * symtab.h (lookup_global_symbol): Update decl.
+ (lookup_static_symbol): Move decl to better location.
+
+2014-11-06 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
+
+2014-11-06 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
+ All callers updated.
+ (lookup_symbol_in_all_objfiles): Renamed from
+ lookup_symbol_aux_symtabs. All callers updated.
+ (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
+ All callers updated.
+ (lookup_symbol_in_objfile_symtabs): Renamed from
+ lookup_symbol_aux_objfile. All callers updated.
+
+2014-11-06 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (lookup_symbol_in_block): Renamed from
+ lookup_symbol_aux_block. All callers updated.
+
+2014-11-06 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (lookup_static_symbol): Renamed from
+ lookup_static_symbol_aux. All callers updated.
+ (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
+ All callers updated.
+
+2014-11-06 Doug Evans <xdje42@gmail.com>
+
+ * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
+ * block.c (block_lookup_symbol): Use it.
+ * cp-support.c (make_symbol_overload_list_block): Use it.
+ * symtab.c (iterate_over_symbols): Use it.
+
+2014-11-06 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (lookup_block_symbol): Moved to ...
+ * block.c (block_lookup_symbol): ... here and renamed.
+ All callers updated.
+ * block.h (block_lookup_symbol): Declare.
+ * symtab.h (lookup_block_symbol): Delete.
+
+2014-11-06 Doug Evans <xdje42@gmail.com>
+
+ * ada-lang.c (ada_make_symbol_completion_list): Use
+ ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
+ * symtab.c (lookup_objfile_from_block): Ditto.
+
+2014-11-06 Doug Evans <xdje42@gmail.com>
+
+ * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
+ TYPE_CODE_STRUCT.
+
+2014-11-06 Doug Evans <xdje42@gmail.com>
+
+ * objfiles.c (get_objfile_arch): Constify.
+ * objfiles.h (get_objfile_arch): Update prototype.
+ * solib.c (solib_global_lookup): Fetch arch from objfile,
+ not target_gdbarch.
+
+2014-11-06 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-tdep.c (wild_insn): Delete.
+ (profiler_insn, irqentry_insn): Delete.
+ (nios2_match_sequence): Delete.
+ (nios2_analyze_prologue): Update comments. Remove matching
+ of obsolete profiler_insn and irqentry_insn sequences.
+
+2014-11-05 Alan Modra <amodra@gmail.com>
+
+ * charset.c (convert_between_encodings): Shrink obstack using
+ obstack_blank_fast.
+ * minsyms.c (install_minimal_symbols): Likewise.
+ * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
+ to char* before doing pointer arithmetic.
+
+2014-11-04 Simon Marchi <simon.marchi@ericsson.com>
+
+ * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
+
+2014-11-04 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (breakpoint_thread_match): Delete function.
+ * breakpoint.h (breakpoint_thread_match): Delete declaration.
+
+2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
+
+ PR c++/17494
+ * eval.c (evaluate_subexp_standard): Evaluate the "object" and
+ the method args also under EVAL_SKIP when evaluating method
+ calls under EVAL_SKIP.
+
+2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
+
+ * dwarf2loc.c (read_pieced_value): Do big endian
+ processing only if gdb_regnum is not -1.
+ (write_pieced_value): Ditto.
+
+2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
+
+ * arm-linux-tdep.c (arm_linux_init_abi): Use
+ info.byte_order_for_code to choose endianity of breakpoint
+ instructions snippets.
+
+2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
+
+ * arm-tdep.c (extract_arm_insn): Use
+ gdbarch_byte_order_for_code to read arm instruction.
+
+2014-11-02 Doug Evans <xdje42@gmail.com>
+
+ * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
+
+2014-11-02 Doug Evans <xdje42@gmail.com>
+
+ * xcoffread.c (process_linenos): Delete unnecessary zeroing of
+ main_subfile before returning.
+
+2014-10-31 Doug Evans <xdje42@gmail.com>
+
+ * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
+ (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
+
+2014-10-31 Doug Evans <xdje42@gmail.com>
+
+ * valops.c (value_cast_pointers): Fix whitespace.
+ (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
+ Ditto.
+
+2014-10-30 Doug Evans <dje@google.com>
+
+ * NEWS: Mention ability add attributes to gdb.Objfile and
+ gdb.Progspace objects.
+ * python/py-objfile.c (objfile_object): New member dict.
+ (objfpy_dealloc): Py_XDECREF dict.
+ (objfpy_initialize): Initialize dict.
+ (objfile_getset): Add __dict__.
+ (objfile_object_type): Set tp_dictoffset member.
+ * python/py-progspace.c (progspace_object): New member dict.
+ (pspy_dealloc): Py_XDECREF dict.
+ (pspy_initialize): Initialize dict.
+ (pspace_getset): Add __dict__.
+ (pspace_object_type): Set tp_dictoffset member.
+
+2014-10-30 Yao Qi <yao@codesourcery.com>
+
+ * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
+ replace '\\' with '\\\\'.
+
+2014-10-29 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 7.8.1 released.
+
+2014-10-29 Pedro Alves <palves@redhat.com>
+
+ PR gdb/17408
+ * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
+ instead of assuming a thread with a stepping range is always
+ stepping.
+
+2014-10-29 Pedro Alves <palves@redhat.com>
+
+ PR python/17372
+ * event-top.c (change_line_handler): Call
+ gdb_rl_callback_handler_remove instead of
+ rl_callback_handler_remove.
+ (callback_handler_installed): New global.
+ (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
+ (gdb_rl_callback_handler_reinstall): New functions.
+ (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
+ gdb_rl_callback_handler_install instead of
+ rl_callback_handler_remove and rl_callback_handler_install.
+ (gdb_disable_readline): Call gdb_rl_callback_handler_remove
+ instead of rl_callback_handler_remove.
+ * event-top.h (gdb_rl_callback_handler_remove)
+ (gdb_rl_callback_handler_install)
+ (gdb_rl_callback_handler_reinstall): New declarations.
+ * infrun.c (reinstall_readline_callback_handler_cleanup): New
+ cleanup function.
+ (fetch_inferior_event): Install it.
+ * top.c (gdb_readline_wrapper_line) Call
+ gdb_rl_callback_handler_remove instead of
+ rl_callback_handler_remove.
+ (gdb_readline_wrapper_cleanup): Don't call
+ rl_callback_handler_install.
+
+2014-10-29 Pedro Alves <palves@redhat.com>
+
+ * event-top.c (command_line_handler): Clear the first byte of
+ linebuffer, when it is first allocated.
+
+2014-10-29 Pedro Alves <palves@redhat.com>
+
+ * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
+ TRY_CATCH.
+
+2014-10-29 Pedro Alves <palves@redhat.com>
+
+ PR tui/16138
+ PR tui/17519
+ * tui/tui-interp.c (tui_is_toplevel): Delete global.
+ (tui_allowed_p): Delete function.
+ * tui/tui.c: Include "interps.h".
+ (tui_enable): Don't use tui_allowed_p. Error out here with
+ detailed error messages if the TUI is the top level interpreter,
+ or if output is not a terminal. Use newterm instead of initscr,
+ and error out if initializing the terminal fails. Also error out if
+ the terminal doesn't support cursor addressing.
+ * tui/tui.h (tui_allowed_p): Delete declaration.
+
+2014-10-29 Joel Brobecker <brobecker@adacore.com>
+
+ * arm-tdep.c (arm_skip_stack_protector): Return early if
+ address loaded by first "ldr" instruction does not have
+ a corresponding minimal symbol. Update comment.
+
+2014-10-29 Yao Qi <yao@codesourcery.com>
+
+ * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
+ loaded address correctly of ldr instruction.
+
+2014-10-28 Pedro Alves <palves@redhat.com>
+
+ PR gdb/12623
+ * gdbthread.h (struct thread_info) <stepped_breakpoint>: New
+ field.
+ * infrun.c (resume) <stepping breakpoint instruction>: Set the
+ thread's stepped_breakpoint field. Skip if reverse debugging.
+ Add comment.
+ (init_thread_stepping_state, handle_signal_stop): Clear the
+ thread's stepped_breakpoint field.
+
+2014-10-27 Pedro Alves <palves@redhat.com>
+
+ * remote.c (remote_thread_alive): New, factored out from ...
+ (remote_thread_alive): ... this.
+ (remote_update_thread_list): Bail out before deleting threads if
+ the target returned an empty list, and, the current thread has a
+ magic/fake ptid.
+
+2014-10-27 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (handle_signal_stop): Also skip handlers when a random
+ signal arrives while handling a "stepi" or a "nexti". Set the
+ thread's 'step_after_step_resume_breakpoint' flag.
+
+2014-10-27 Luis Machado <lgustavo@codesourcery.com>
+
+ * arm-tdep.c (INSN_S_L_BIT_NUM): Document.
+ (arm_record_ld_st_imm_offset): Reimplement to cover all
+ load/store cases for ARM opcode 010.
+ (arm_record_ld_st_multiple): Reimplement to cover all
+ load/store cases for ARM opcode 100.
+
+2014-10-26 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (lookup_symbol_aux_local): Fix typo in comment.
+
+2014-10-26 Doug Evans <xdje42@gmail.com>
+
+ * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
+ parameter "kind" to "block_index".
+ * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
+ "block_index".
+ (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
+
+2014-10-26 Doug Evans <xdje42@gmail.com>
+
+ * block.h (ALL_BLOCK_SYMBOLS): Fix comment.
+
+2014-10-26 Doug Evans <xdje42@gmail.com>
+
+ * block.c (allocate_block): Use OBSTACK_ZALLOC instead of
+ obstack_alloc.
+
+2014-10-26 Doug Evans <xdje42@gmail.com>
+
+ * parser-defs.h (block_found): Move decl from here ...
+ * symtab.h (block_found): ... to here.
+
+2014-10-26 Doug Evans <xdje42@gmail.com>
+
+ * symtab.h (struct field_of_this_result): Fix typo in comment.
+ (lookup_symbol_in_language): Move function comment here.
+ (lookup_symbol): Improve function comment.
+ (basic_lookup_symbol_nonlocal): Ditto.
+ (lookup_symbol_static, lookup_symbol_global): Ditto.
+ (lookup_symbol_aux_block): Ditto.
+ (lookup_language_this): Add function comment.
+ (lookup_static_symbol_aux): Explicitly mark as extern. Improve
+ function comment.
+ (lookup_block_symbol): Improve function comment.
+ (lookup_struct): Fix capitalization in function comment.
+ (lookup_transparent_type): Add function comment.
+ (lookup_global_symbol_from_objfile): Explicitly mark as extern.
+ Improve function comment.
+ (lookup_objfile_from_block): Add function comment.
+ * symtab.c (lookup_symbol_in_language): Update function comment.
+ (lookup_symbol, lookup_language_this): Ditto.
+ (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
+ (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
+ (basic_lookup_symbol_nonlocal): Ditto.
+ (lookup_symbol_static, lookup_symbol_global): Ditto.
+ (lookup_transparent_type, lookup_block_symbol): Ditto.
+
+2014-10-25 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (types_info): Delete forward decl.
+ (functions_info, variables_info, sources_info): Ditto.
+ (_initialize_symtab): Rewrite forward decl to use
+ initialize_file_ftype.
+
+2014-10-25 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
+
+2014-10-25 Doug Evans <xdje42@gmail.com>
+
+ * dwarf2read.c (process_structure_scope): Remove second (nested) copy
+ of local var child_die.
+
+2014-10-24 Don Breazeal <donb@codesourcery.com>
+
+ * infrun.c (follow_fork_inferior): Update fork message printing
+ to use target_terminal_ours_for_output instead of
+ target_terminal_ours, to use _() for all format strings, to print
+ "vfork" instead of "fork" for vforks, and to add a detach message.
+ (handle_vfork_child_exec_or_exit): Update message printing to use
+ target_terminal_ours_for_output instead of target_terminal_ours, to
+ use _() for all format strings, and to fix some formatting.
+
+2014-10-24 Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (ALLDEPFILES): Remove vax-nat.c.
+ * NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
+ * config/vax/vax.mh: Delete.
+ * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
+ obsolete configurations section.
+ * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
+ * vax-nat.c: Delete file.
+
+2014-10-24 Pedro Alves <palves@redhat.com>
+
+ * NEWS (Removed targets): Add OS/arch column.
+
+2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
+
+ * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
+ on the arg type of a constructor only if it is of reference type.
+
+2014-10-23 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
+ accessors and constants from nios2 opcodes update.
+ (nios2_get_next_pc): Likewise.
+
+2014-10-19 Doug Evans <xdje42@gmail.com>
+
+ * gdbthread.h (set_running): Fix comment.
+ (set_executing, finish_thread_state): Fix comment.
+
+2014-10-18 Doug Evans <xdje42@gmail.com>
+
+ * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
+
+2014-10-17 Doug Evans <dje@google.com>
+
+ * NEWS: Mention new event gdb.clear_objfiles.
+ * python/py-event.h (emit_clear_objfiles_event): Clear
+ * python/py-events.h (events_object): New member clear_objfiles.
+ * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
+ event.
+ * python/py-inferior.c (python_new_objfile): If objfile is NULL,
+ emit clear_objfiles event.
+ * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
+ function.
+ (emit_clear_objfiles_event): New function.
+ (clear_objfiles): New event.
+ * python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
+ Declare.
+ * python/python.c (_initialize_python): Call
+ gdbpy_initialize_clear_objfiles_event.
+
+2014-10-17 Doug Evans <dje@google.com>
+
+ * NEWS: Mention new gdb.Objfile.progspace attribute.
+ * python/py-objfile.c (objfpy_get_progspace): New function.
+ (objfile_getset): New entry for "progspace".
+
+2014-10-17 Pedro Alves <palves@redhat.com>
+
+ PR gdb/17471
+ * infcmd.c (strip_bg_char): Change prototype and rewrite. Now
+ returns a copy of the input.
+ (run_command_1, continue_command, step_1, jump_command)
+ (signal_command, until_command, advance_command, finish_command)
+ (attach_command): Adjust and install a cleanup to free the
+ stripped args.
+
+2014-10-17 Pedro Alves <palves@redhat.com>
+
+ PR gdb/17300
+ * infcmd.c (continue_1): If continuing all threads in the
+ foreground, make sure the inferior's terminal settings are put in
+ effect.
+
+2014-10-17 Pedro Alves <palves@redhat.com>
+
+ PR gdb/17472
+ * annotate.c (annotate_breakpoints_invalid): Use
+ target_terminal_our_for_output instead of target_terminal_ours.
+ Give back the terminal to the target.
+ (annotate_frames_invalid): Likewise.
+
+2014-10-17 Pedro Alves <palves@redhat.com>
+
+ * target.c (enum terminal_state): New enum.
+ (terminal_state): New global.
+ (target_terminal_init): New function.
+ (target_terminal_inferior): Skip if inferior already owns the
+ terminal.
+ (target_terminal_ours, target_terminal_ours_for_output): New
+ functions.
+ * target.h (target_terminal_init): Convert to function prototype.
+ (target_terminal_ours_for_output): Convert to function prototype
+ and tweak comment.
+ (target_terminal_ours): Convert to function prototype and tweak
+ comment.
+ * windows-nat.c (do_initial_windows_stuff): Call
+ target_terminal_init instead of child_terminal_init_with_pgrp.
+
+2014-10-17 Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
+ (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
+ (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
+ solib-osf.c.
+ * NEWS: Mention that support for alpha*-*-osf* has been removed.
+ * ada-lang.h [__alpha__ && __osf__]
+ (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
+ * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
+ * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
+ GDB_OSABI_OSF1.
+ * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
+ files.
+ * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
+ (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
+ * configure: Regenerate.
+ * configure.ac: Remove references to osf.
+ * configure.host: Handle alpha*-*-osf* in the obsolete hosts
+ section. Remove all other references to osf.
+ * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
+ Remove all other references to osf.
+ * dec-thread.c: Delete file.
+ * defs.h (GDB_OSABI_OSF1): Delete.
+ * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
+ defined.
+ * osabi.c (gdb_osabi_names): Delete "OSF/1".
+ * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
+ Delete code.
+ (unconditionally_kill_inferior)
+ [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
+ * solib-osf.c: Delete file.
+
+2014-10-17 Pedro Alves <palves@redhat.com>
+
+ * remote.c (clear_threads_listing_context): Move higher up, out of
+ the HAVE_LIBEXPAT guard.
+
+2014-10-16 Tristan Gingold <gingold@adacore.com>
+
+ * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
+ (i386_darwin_store_inferior_registers): Sanitize gs and fs values
+ on amd64.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * dec-thread.c (dec_thread_count_gdb_threads)
+ (dec_thread_add_gdb_thread): Delete.
+ (dec_thread_update_thread_list): Delete.
+ (dec_thread_find_new_threads): Rename to ...
+ (dec_thread_update_thread_list): ... this. Delete GDB-size
+ threads that are no longer found in dec_thread_list.
+ (resync_thread_list): Delete.
+ (dec_thread_wait): Call dec_thread_update_thread_list instead of
+ resync_thread_list.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
+ * remote.c (remote_update_thread_list): Skip calling prune_threads
+ if any thread listing method is supported, and instead walk over
+ the set of remote threads listed, deleting those that are not
+ found in GDB's thread list.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
+ * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
+ (bsd_uthread_update_thread_list): ... this. Call prune_threads.
+ (bsd_uthread_target): Adjust.
+ * corelow.c (core_open): Adjust.
+ * dec-thread.c (dec_thread_find_new_threads): Update comment.
+ (dec_thread_update_thread_list): New function.
+ (init_dec_thread_ops): Adjust.
+ * gdbthread.h (prune_threads): New declaration.
+ * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
+ (thread_db_update_thread_list): ... this. Call prune_threads.
+ (init_thread_db_ops): Adjust.
+ * nto-procfs.c (procfs_find_new_threads): Rename to ...
+ (procfs_update_thread_list): ... this. Call prune_threads.
+ (procfs_attach, procfs_create_inferior, init_procfs_targets):
+ Adjust.
+ * obsd-nat.c (obsd_find_new_threads): Rename to ...
+ (obsd_update_thread_list): ... this. Call prune_threads.
+ (obsd_add_target): Adjust.
+ * procfs.c (procfs_target): Adjust.
+ (procfs_notice_thread): Update comment.
+ (procfs_find_new_threads): Rename to ...
+ (procfs_update_thread_list): ... this. Call prune_threads.
+ * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
+ comment.
+ (ravenscar_wait): Adjust.
+ (ravenscar_find_new_threads): Rename to ...
+ (ravenscar_update_thread_list): ... this. Call prune_threads.
+ (init_ravenscar_thread_ops): Adjust.
+ * record-btrace.c (record_btrace_find_new_threads): Rename to ...
+ (record_btrace_update_thread_list): ... this. Adjust comment.
+ (init_record_btrace_ops): Adjust.
+ * remote.c (remote_threads_info): Rename to ...
+ (remote_update_thread_list): ... this. Call prune_threads.
+ (remote_start_remote, extended_remote_attach_1, init_remote_ops):
+ Adjust.
+ * sol-thread.c (check_for_thread_db): Adjust.
+ (sol_find_new_threads_callback): Rename to ...
+ (sol_update_thread_list_callback): ... this.
+ (sol_find_new_threads): Rename to ...
+ (sol_update_thread_list): ... this. Call prune_threads. Adjust.
+ (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
+ * target-delegates.c: Regenerate.
+ * target.c (target_find_new_threads): Rename to ...
+ (target_update_thread_list): ... this.
+ * target.h (struct target_ops): Rename to_find_new_threads field
+ to to_update_thread_list.
+ (target_find_new_threads): Rename to ...
+ (target_update_thread_list): ... this.
+ * thread.c (prune_threads): Make extern.
+ (update_thread_list): Adjust.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * remote.c (remote_get_threadlist, remote_threadlist_iterator):
+ Add describing comment. Return -1 if the qL packet is not
+ supported.
+ (struct thread_item, thread_item_t): Move higher up in
+ the file. Add comments.
+ (struct threads_parsing_context): Move higher up in
+ the file, add comments, and remote to ...
+ (struct threads_listing_context): ... this.
+ (remote_newthread_step): Don't add the thread to GDB's thread
+ database here. Instead push it to the thread_listing_context
+ list.
+ (remote_find_new_threads): Rename to ...
+ (remote_get_threads_with_ql): ... this. Add target_ops and
+ targets_listing_context parameters. Pass down context.
+ (start_thread): Adjust.
+ (clear_threads_parsing_context): Rename to ...
+ (clear_threads_listing_context): ... this.
+ (remote_get_threads_with_qxfer): New, with parts salvaged from old
+ remote_threads_info.
+ (remote_get_threads_with_qthreadinfo): Ditto.
+ (remote_threads_info): Reimplement.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (resume): Don't force displaced-stepping for all
+ single-steps on software single-stepping archs.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (single_step_breakpoints): Delete global.
+ (insert_single_step_breakpoint): Adjust to store the breakpoint
+ pointer in the current thread.
+ (single_step_breakpoints_inserted, remove_single_step_breakpoints)
+ (cancel_single_step_breakpoints): Delete functions.
+ (breakpoint_has_location_inserted_here): Make extern.
+ (single_step_breakpoint_inserted_here_p): Adjust to walk the
+ breakpoint list.
+ * breakpoint.h (breakpoint_has_location_inserted_here): New
+ declaration.
+ (single_step_breakpoints_inserted, remove_single_step_breakpoints)
+ (cancel_single_step_breakpoints): Remove declarations.
+ * gdbthread.h (struct thread_control_state)
+ <single_step_breakpoints>: New field.
+ (delete_single_step_breakpoints)
+ (thread_has_single_step_breakpoints_set)
+ (thread_has_single_step_breakpoint_here): New declarations.
+ * infrun.c (follow_exec): Also clear the single-step breakpoints.
+ (singlestep_breakpoints_inserted_p, singlestep_ptid)
+ (singlestep_pc): Delete globals.
+ (infrun_thread_ptid_changed): Remove references to removed
+ globals.
+ (resume_cleanups): Delete the current thread's single-step
+ breakpoints.
+ (maybe_software_singlestep): Remove references to removed globals.
+ (resume): Adjust to use thread_has_single_step_breakpoints_set and
+ delete_single_step_breakpoints.
+ (init_wait_for_inferior): Remove references to removed globals.
+ (delete_thread_infrun_breakpoints): Delete the thread's
+ single-step breakpoints too.
+ (delete_just_stopped_threads_infrun_breakpoints): Don't delete
+ single-step breakpoints here.
+ (delete_stopped_threads_single_step_breakpoints): New function.
+ (adjust_pc_after_break): Adjust to use
+ thread_has_single_step_breakpoints_set.
+ (handle_inferior_event): Remove references to removed globals.
+ Use delete_stopped_threads_single_step_breakpoints.
+ (handle_signal_stop): Adjust to per-thread single-step
+ breakpoints. Swap test order to do cheaper tests first.
+ (switch_back_to_stepped_thread): Extend debug output. Remove
+ references to removed globals.
+ * record-full.c (record_full_wait_1): Adjust to per-thread
+ single-step breakpoints.
+ * thread.c (delete_single_step_breakpoints)
+ (thread_has_single_step_breakpoints_set)
+ (thread_has_single_step_breakpoint_here): New functions.
+ (clear_thread_inferior_resources): Also delete the thread's
+ single-step breakpoints.
+
+2014-10-15 Pedro Alves <palves@redhat.com>
+
+ * thread.c (delete_thread_breakpoint): New function.
+ (delete_step_resume_breakpoint)
+ (delete_exception_resume_breakpoint): Use it.
+ (delete_at_next_stop): New function.
+ (clear_thread_inferior_resources): Use delete_at_next_stop.
+
+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.