+2013-10-29 Andrew Burgess <aburgess@broadcom.com>
+
+ * infcmd.c (default_print_one_register_info): Use val_print to
+ print all values even optimized out or unavailable ones. Don't
+ try to print a raw form of optimized out or unavailable values.
+
+2013-10-29 Yao Qi <yao@codesourcery.com>
+
+ * auto-load.c (auto_load_pspace_data_cleanup): Get data from
+ parameter 'arg' instead of from program_space_data.
+ * objfiles.c (objfiles_pspace_data_cleanup): Likewise.
+ * solib-darwin.c (darwin_pspace_data_cleanup): Likewise.
+ * solib-dsbt.c (dsbt_pspace_data_cleanup): Likewise.
+ * solib-svr4.c (svr4_pspace_data_cleanup): Likewise.
+ * inflow.c (inflow_inferior_data_cleanup): Get data from
+ parameter 'arg' instead of inferior_data.
+ * registry.h: Add comments.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (watchpoints_triggered)
+ <!target_stopped_data_address>: Hardcode return 1.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (process_event_stop_test): Remove unnecessary scoping
+ level and reindent.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (process_event_stop_test): New function, factored out
+ from handle_inferior_event.
+ (handle_inferior_event): 'process_event_stop_test' is now a
+ function instead of a goto label -- adjust.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (handle_inferior_event): Move process_event_stop_test
+ goto label to the else branch of the ecs->random_signal check,
+ along with FRAME and GDBARCH re-fetching.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (switch_back_to_stepped_thread): New function, factored
+ out from handle_inferior_event.
+ (handle_inferior_event): Adjust to call
+ switch_back_to_stepped_thread. Call it also at the tail of the
+ random signal handling, and return, instead of also handling
+ random signals just before the stepping tests.
+
+2013-10-28 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (clear_stop_func): Delete.
+ (handle_inferior_event): Don't call clear_stop_func and don't
+ clear 'ecs->random_signal'.
+
+2013-10-27 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (struct varobj_root) <lang>: Rename to 'lang_ops'.
+ (varobj_create, varobj_get_path_expr): Update.
+ (varobj_value_has_mutated, varobj_update): Likewise.
+ (create_child_with_value, new_root_variable): Likewise.
+ (number_of_children, name_of_variable): Likewise.
+ (value_of_child, my_value_of_variable): Likewise.
+ (varobj_value_is_changeable_p): Likewise.
+
+2013-10-25 Yao Qi <yao@codesourcery.com>
+
+ * language.h (struct lang_varobj_ops): Declare.
+ (struct language_defn) <la_varobj_ops>: New field.
+ * ada-lang.c: Include "varobj.h"
+ (defn ada_language_defn): Initialize field 'la_varobj_ops' with
+ ada_varobj_ops.
+ * c-lang.c: Include "varobj.h"
+ (c_language_defn): Initialize field 'la_varobj_ops' with
+ c_varobj_ops.
+ (cplus_language_defn): Initialize field 'la_varobj_ops' with
+ cplus_varobj_ops.
+ (asm_language_defn): Initialize field 'la_varobj_ops' with
+ default_varobj_ops.
+ (minimal_language_defn): Likewise.
+ * d-lang.c (d_language_defn): Likewise.
+ * f-lang.c (f_language_defn): Likewise.
+ * go-lang.c (go_language_defn): Likewise.
+ * m2-lang.c (m2_language_defn): Likewise.
+ * objc-lang.c (objc_language_defn): Likewise.
+ * opencl-lang.c (opencl_language_defn): Likewise.
+ * p-lang.c (pascal_language_defn): Likewise.
+ * language.c (unknown_language_defn): Likewise.
+ (auto_language_defn): Likewise.
+ (local_language_defn): Likewise.
+ * jv-lang.c (java_language_defn): Initialize field
+ 'la_varobj_ops' with java_varobj_ops.
+ * varobj.c (varobj_create): Update.
+ * varobj.h (default_varobj_ops): Define macro.
+
+2013-10-25 Pedro Alves <palves@redhat.com>
+
+ * cp-valprint.c (cp_print_value_fields): No longer handle a NULL
+ static field value.
+ (cp_print_static_field): If the value is entirely optimized out,
+ print <optimized out> here.
+ * jv-valprint.c (java_print_value_fields): No longer handle a NULL
+ static field value.
+ * p-valprint.c (pascal_object_print_static_field): If the value is
+ entirely optimized out, print <optimized out> here.
+ * valops.c (do_search_struct_field)
+ (value_struct_elt_for_reference): No longer handle a NULL static
+ field value.
+ * value.c (value_static_field): Return an optimized out value
+ instead of NULL.
+
+2013-10-25 Yao Qi <yao@codesourcery.com>
+
+ * remote.c (remote_traceframe_info): Return early if
+ traceframe is not selected.
+
+2013-10-25 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (traceframe_fun): Remove.
+ (traceframe_sal): Remove.
+ (set_traceframe_context): Add local variables.
+
+2013-10-25 Joel Brobecker <brobecker@adacore.com>
+
+ * varobj.h (struct lang_varobj_ops): Remove spaces between '*'
+ and parameter name.
+
+2013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * linux-tdep.c (linux_corefile_thread_callback): Propagate any
+ failure from register information collection.
+
+2013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * linux-tdep.c (linux_corefile_thread_data): Remove `num_notes'
+ member.
+ (linux_corefile_thread_callback): Update accordingly.
+ (linux_make_corefile_notes): Likewise.
+
+2013-10-24 Pedro Alves <palves@redhat.com>
+
+ * NEWS (New options): Mention set/show startup-with-shell.
+ * config/alpha/nm-osf3.h (START_INFERIOR_TRAPS_EXPECTED): Set to 2
+ instead of 3.
+ * fork-child.c (fork_inferior, startup_inferior): Handle 'set
+ startup-with-shell'.
+ (show_startup_with_shell): New function.
+ (_initialize_fork_child): Register the set/show startup-with-shell
+ commands.
+ * inf-ptrace.c (inf_ptrace_create_inferior): Remove comment.
+ * inf-ttrace.c (inf_ttrace_him): Remove comment.
+ * procfs.c (procfs_init_inferior): Remove comment.
+ * infcmd.c (startup_with_shell): New global.
+ * inferior.h (startup_with_shell): Declare global.
+ (STARTUP_WITH_SHELL): Delete.
+ (START_INFERIOR_TRAPS_EXPECTED): Set to 1 by default instead of 2.
+
+2013-10-23 Pedro Alves <palves@redhat.com>
+
+ * common/gdb_signals.h (gdb_signal_to_symbol_string): Declare.
+ * common/signals.c: Include "gdb_assert.h".
+ (signals): New field 'symbol'.
+ (SET): Use the 'symbol' parameter.
+ (gdb_signal_to_symbol_string): New function.
+ * infrun.c (handle_inferior_event) <random signal>: In debug
+ output, print the random signal enum as string in addition to its
+ number.
+ * target/waitstatus.c (target_waitstatus_to_string): Print the
+ signal's enum value as string instead of the (POSIX) signal name.
+
+2013-10-23 Gary Benson <gbenson@redhat.com>
+
+ PR 16013
+ * common/linux-osdata.c (command_from_pid): Reduced size of cmd
+ from 32 to 18. Adjusted fscanf format string accordingly.
+ (Avoids leaving cmd unterminated.)
+ (print_sockets): Do not parse tlen, inode, sl, timeout, txq, rxq,
+ trun, retn or extra. (Avoids leaving extra unterminated.) Check
+ that local_address and remote_address will not overflow.
+ (linux_xfer_osdata_modules): Parse lines using strtok to avoid
+ leaving dependencies unterminated. Parse size as "%u" to match
+ definition.
+
+2013-10-22 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (handle_inferior_event) <thread hop>: Don't clear or
+ set ecs->random signal.
+
+2013-10-22 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (keep_going): Update comments.
+
+2013-10-22 Pedro Alves <palves@redhat.com>
+
+ * remote.c (remote_parse_stop_reply) <'T'/'S'/'X' replies>: Map
+ invalid signal numbers to GDB_SIGNAL_UNKNOWN.
+
+2013-10-22 Pedro Alves <palves@redhat.com>
+
+ * include/gdb/signals.def (TARGET_EXC_BAD_ACCESS): Rename to
+ GDB_EXC_BAD_ACCESS.
+ (TARGET_EXC_BAD_INSTRUCTION): Rename to GDB_EXC_BAD_INSTRUCTION.
+ (TARGET_EXC_ARITHMETIC): Rename to GDB_EXC_ARITHMETIC.
+ (TARGET_EXC_EMULATION): Rename to GDB_EXC_EMULATION.
+ (TARGET_EXC_SOFTWARE): Rename to GDB_EXC_SOFTWARE.
+ (TARGET_EXC_BREAKPOINT): Rename to GDB_EXC_BREAKPOINT.
+ (GDB_SIGNAL_LAST): Change description string.
+ * common/signals.c (gdb_signal_from_host, do_gdb_signal_to_host):
+ Adjust to signal renaming.
+ * darwin-nat.c (darwin_decode_message): Likewise.
+
+2013-10-22 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2013-10-18 Andrew Burgess <aburgess@broadcom.com>
+
+ * breakpoint.c (update_watchpoint): If hardware watchpoints are
+ forced off, downgrade them to software watchpoints if possible,
+ and error out if not possible.
+ (watch_command_1): Move watchpoint type selection closer to
+ watchpoint creation, and extend the comments.
+
+2013-10-18 Pedro Alves <palves@redhat.com>
+
+ PR gdb/16062
+ * infrun.c (handle_inferior_event): Keep going if we got a random
+ signal we should not stop for, instead of falling through to the
+ step tests.
+
+2013-10-18 Yao Qi <yao@codesourcery.com>
+
+ * c-varobj.c (cplus_number_of_children): Fix indentation.
+
+2013-10-17 Tom Tromey <tromey@redhat.com>
+
+ PR gdb/15995:
+ * printcmd.c (printcmd): Call gdb_flush.
+
+2013-10-17 Tom Tromey <tromey@redhat.com>
+
+ * elfread.c (struct elfinfo) <stabindexsect>: Remove.
+ (elf_locate_sections): Update.
+
+2013-10-17 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
+ * ada-varobj.c: Remove the include of ada-varobj.h.
+ (ada_varobj_get_number_of_children): Declare.
+ (ada_varobj_get_name_of_child): Make it static.
+ (ada_varobj_get_path_expr_of_child): Likewise.
+ (ada_varobj_get_value_of_child): Likewise.
+ (ada_varobj_get_type_of_child): Likewise.
+ (ada_varobj_get_value_of_array_variable): Likewise.
+ * ada-varobj.h: Remove.
+
+2013-10-17 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (SFILES): Add c-varobj.c and jv-varobj.c.
+ (COMMON_OBS): Add c-varobj.o and jv-varobj.o.
+ * ada-varobj.c: Include "varobj.h".
+ (ada_number_of_children): New. Moved from varobj.c.
+ (ada_name_of_variable, ada_name_of_child): Likewise.
+ (ada_path_expr_of_child, ada_value_of_child): Likewise.
+ (ada_type_of_child, ada_value_of_variable): Likewise.
+ (ada_value_is_changeable_p, ada_value_has_mutated): Likewise.
+ (ada_varobj_ops): New.
+ * c-varobj.c, jv-varobj.c: New file. Moved from varobj.c.
+ * gdbtypes.c (get_target_type): New. Moved from varobj.c.
+ * gdbtypes.h (get_target_type): Declare.
+ * varobj.c: Remove the inclusion of "ada-varobj.h" and
+ "ada-lang.h".
+ (ANONYMOUS_STRUCT_NAME): Move it to c-varobj.c.
+ (ANONYMOUS_UNION_NAME): Likewise.
+ (get_type, get_value_type, get_target_type): Remove declarations.
+ (value_get_print_value, varobj_value_get_print_value): Likewise.
+ (c_number_of_children, c_name_of_variable): Likewise.
+ (c_name_of_child, c_path_expr_of_child): Likewise.
+ (c_value_of_child, c_type_of_child): Likewise.
+ (c_value_of_variable, cplus_number_of_children): Likewise.
+ (cplus_class_num_children, cplus_name_of_variable): Likewise.
+ (cplus_name_of_child, cplus_path_expr_of_child): Likewise.
+ (cplus_value_of_child, cplus_type_of_child): Likewise.
+ (cplus_value_of_variable, java_number_of_children): Likewise.
+ (java_name_of_variable, java_name_of_child): Likewise.
+ (java_path_expr_of_child, java_value_of_child): Likewise.
+ (java_type_of_child, java_value_of_variable): Likewise.
+ (ada_number_of_children, ada_name_of_variable): Likewise.
+ (ada_name_of_child, ada_path_expr_of_child): Likewise.
+ (ada_value_of_child, ada_type_of_child): Likewise.
+ (ada_value_of_variable, ada_value_is_changeable_p): Likewise.
+ (ada_value_has_mutated): Likewise.
+ (struct language_specific): Move it to varobj.h.
+ (CPLUS_FAKE_CHILD): Move it to varobj.h.
+ (restrict_range): Rename it varobj_restrict_range. Make it extern.
+ Callers update.
+ (get_path_expr_parent): Rename it to varobj_get_path_expr_parent.
+ Make it extern.
+ (is_anonymous_child): Move it to c-varobj.c and rename to
+ varobj_is_anonymous_child. Caller update.
+ (get_type): Move it to c-varobj.c.
+ (get_value_type): Rename it varobj_get_value_type. Make it
+ extern.
+ (get_target_type): Move it gdbtypes.c.
+ (varobj_formatted_print_options): New function.
+ (value_get_print_value): Rename it to
+ varobj_value_get_print_value and make it extern.
+ (varobj_value_is_changeable_p): Make it extern.
+ (adjust_value_for_child_access): Move it to c-varobj.c.
+ (default_value_is_changeable_p): Rename it to
+ varobj_default_value_is_changeable_p. Make it extern.
+ (c_number_of_children, c_name_of_variable): Move it to c-varobj.c
+ (c_name_of_child, c_path_expr_of_child): Likewise.
+ (c_value_of_child, c_type_of_child): Likewise.
+ (c_value_of_variable, cplus_number_of_children): Likewise.
+ (cplus_class_num_children, cplus_name_of_variable): Likewise.
+ (cplus_name_of_child, cplus_path_expr_of_child): Likewise.
+ (cplus_value_of_child, cplus_type_of_child): Likewise.
+ (cplus_value_of_variable): Likewise.
+ (java_number_of_children, java_name_of_variable): Move it to jv-varobj.c.
+ (java_name_of_child, java_path_expr_of_child): Likewise.
+ (java_value_of_child, java_type_of_child): Likewise.
+ (java_value_of_variable): Likewise.
+ (ada_number_of_children, ada_name_of_variable): Move it to ada-varobj.c.
+ (ada_name_of_child, ada_path_expr_of_child): Likewise.
+ (ada_value_of_child, ada_type_of_child): Likewise.
+ (ada_value_of_variable, ada_value_is_changeable_p): Likewise.
+ (ada_value_has_mutated): Likewise.
+ * varobj.h (CPLUS_FAKE_CHILD): New macro, moved from varobj.c.
+ (struct lang_varobj_ops): New. Renamed by 'struct language_specific'.
+ (c_varobj_ops, cplus_varobj_ops): Declare.
+ (java_varobj_ops, ada_varobj_ops): Declare.
+ (varobj_default_value_is_changeable_p): Declare.
+ (varobj_value_is_changeable_p): Declare.
+ (varobj_get_value_type, varobj_is_anonymous_child): Declare.
+ (varobj_get_path_expr_parent): Declare.
+ (varobj_value_get_print_value): Declare.
+ (varobj_formatted_print_options): Declare.
+ (varobj_restrict_range): Declare.
+
+2013-10-17 Luis Machado <lgustavo@codesourcery.com>
+
+ * target/waitstatus.h (target_waitkind): Remove spurious
+ character from the comments.
+
+2013-10-17 Joel Brobecker <brobecker@adacore.com>
+
+ * gdbarch.sh (get_longjmp_target): Add method documentation.
+ * gdbarch.h: Regenerate.
+
+2013-10-16 Tom Tromey <tromey@redhat.com>
+
+ * dbxread.c (read_dbx_symtab) <bss_ext_symbol>: Remove unused
+ label.
+
+2013-10-16 Luis Machado <lgustavo@codesourcery.com>
+
+ * gcore.in: Call GDB using the full path to the gcore script.
+ Error out if the GDB binary is not found.
+
+2013-10-16 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR gdb/16014
+ * dwarf2read.c (dw2_get_real_path): Remove unnecessary call to
+ sizeof.
+
+2013-10-16 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR gdb/16042
+ * target.c (target_disable_btrace): Fix invalid return value for
+ void function.
+ (target_teardown_btrace): Likewise.
+
+2013-10-14 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (struct varobj): Move most of the fields to
+ varobj.h.
+ (struct varobj_dynamic): New struct.
+ (varobj_get_display_hint) [HAVE_PYTHON]: Adjust.
+ (varobj_has_more): Likewise.
+ (dynamic_varobj_has_child_method): Likewise.
+ (update_dynamic_varobj_children): Likewise.
+ (varobj_get_num_children): Likewise.
+ (varobj_list_children, varobj_pretty_printed_p): Likewise.
+ (install_new_value_visualizer): Likewise.
+ (install_new_value_visualizer, install_new_value): Likewise.
+ (varobj_update, new_variable, free_variable): Likewise.
+ (my_value_of_variable, value_get_print_value): Likewise.
+ (install_visualizer): Change the type of parameter 'var' to
+ 'struct varobjd_dynamic *'. Callers update.
+ * varobj.h (struct varobj): Moved from varobj.c.
+ (struct varobj) <dynamic>: New field.
+
+2013-10-13 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-tdep.c (nios2_reg_names): Use "sstatus" rather than "ba"
+ as the preferred name of r30.
+ * nios2-linux-tdep.c (reg_offsets): Likewise.
+ * features/nios2-cpu.xml: Likewise.
+ * features/nios2-linux.c: Regenerated.
+ * features/nios2.c: Regenerated.
+ * regformats/nios2-linux.dat: Regenerated.
+
+2013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Canonicalize directories for EXEC_FILENAME.
+ * exec.c (exec_file_attach): Use gdb_realpath_keepfile for
+ exec_filename.
+ * utils.c (gdb_realpath_keepfile): New function.
+ * utils.h (gdb_realpath_keepfile): New declaration.
+
+2013-10-11 Doug Evans <dje@google.com>
+
+ * Makefile.in (GDBFLAGS): New variable.
+ (run): New rule.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Add entry documenting the new "-catch-assert" and
+ "-catch-exception" GDB/MI commands.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint.h (init_ada_exception_breakpoint): Add parameter
+ "enabled".
+ * breakpoint.c (init_ada_exception_breakpoint): Add parameter
+ "enabled". Set B->ENABLE_STATE accordingly.
+ * ada-lang.h (ada_exception_catchpoint_kind): Move here from
+ ada-lang.c.
+ (create_ada_exception_catchpoint): Add declaration.
+ * ada-lang.c (ada_exception_catchpoint_kind): Move to ada-lang.h.
+ (create_ada_exception_catchpoint): Make non-static. Add new
+ parameter "disabled". Use it in call to
+ init_ada_exception_breakpoint.
+ (catch_ada_exception_command): Add parameter "enabled" in call
+ to create_ada_exception_catchpoint.
+ (catch_assert_command): Likewise.
+
+ * mi/mi-cmds.h (mi_cmd_catch_assert, mi_cmd_catch_exception):
+ Add declarations.
+ * mi/mi-cmds.c (mi_cmds): Add the "catch-assert" and
+ "catch-exception" commands.
+ * mi/mi-cmd-catch.c: Add #include "ada-lang.h".
+ (mi_cmd_catch_assert, mi_cmd_catch_exception): New functions.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (enum ada_exception_catchpoint_kind): Renames
+ "enum exception_catchpoint_kind". Replace the "ex_" prefix
+ of all its enumerates with "ada_". Update the rest of this
+ file throughout.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_decode_exception_location): Delete.
+ (create_ada_exception_catchpoint): Remove arguments "sal",
+ "addr_string" and "ops". Add argument "ex_kind" instead.
+ Adjust implementation accordingly, calling ada_exception_sal
+ to get the entities it no longer gets passed as arguments.
+ Document the function's arguments.
+ (catch_ada_exception_command): Use catch_ada_exception_command_split
+ instead of ada_decode_exception_location, and update call to
+ create_ada_exception_catchpoint.
+ (catch_ada_assert_command_split): Renames
+ ada_decode_assert_location. Remove parameters "addr_string" and
+ "ops", and now returns void. Adjust implementation accordingly.
+ Update the function documentation.
+ (catch_assert_command): Use catch_ada_assert_command_split
+ instead of ada_decode_assert_location. Update call to
+ create_ada_exception_catchpoint.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * utils.h (perror_warning_with_name): Add declaration.
+ * utils.c (perror_warning_with_name): New function.
+ * cli/cli-cmds.c (source_script_with_search): Add call to
+ perror_warning_with_name if from_tty is nul.
+
+2013-10-11 Joel Brobecker <brobecker@adacore.com>
+
+ * utils.c (perror_string): New function, extracted out of
+ throw_perror_with_name.
+ (throw_perror_with_name): Rework to use perror_string.
+
+2013-10-11 Yao Qi <yao@codesourcery.com>
+
+ * remote.c (discard_pending_stop_replies_in_queue): Update
+ declaration.
+ (struct stop_reply) <rs>: New field.
+ (remove_stop_reply_of_remote_state): New function.
+ (discard_pending_stop_replies_in_queue): Add parameter 'rs'.
+ Callers update. Pass remove_stop_reply_of_remote_state to
+ QUEUE_iterate.
+ (remote_parse_stop_reply): Initialize field 'rs'.
+
+2013-10-10 Will Newton <will.newton@linaro.org>
+
+ * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
+ linux_init_abi.
+
+2013-10-10 Joel Brobecker <brobecker@adacore.com>
+
+ * cli/cli-cmds.c (show_baud_rate): Moved to serial.c as
+ serial_baud_show_cmd.
+ (_initialize_cli_cmds): Delete the code creating the
+ "set/show remotebaud" commands.
+ * serial.c (baud_rate): Move here from top.c.
+ (serial_baud_show_cmd): Move here from cli/cli-cmds.c.
+ (_initialize_serial): Create "set/show serial baud" commands.
+ Add "set/show remotebaud" command aliases.
+ * top.c (baud_rate): Moved to serial.c.
+ * NEWS: Document the new "set/show serial baud" commands,
+ replacing "set/show remotebaud".
+
+2013-10-09 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (insert_bp_location): Use memory_error_message to
+ build the memory error string.
+ * c-lang.c: Include "gdbcore.h".
+ (c_get_string): Use memory_error to throw error.
+ (target_xfer_memory_error): Delete.
+ (memory_error_message): New, factored out from
+ target_xfer_memory_error.
+ (memory_error): Change parameter type to target_xfer_error.
+ Rewrite.
+ (read_memory): Use memory_error instead of
+ target_xfer_memory_error.
+ * gdbcore.h: Include "target.h".
+ (memory_error): Change parameter type to target_xfer_error.
+ (memory_error_message): Declare function.
+ * target.c (target_read_memory, target_read_stack)
+ (target_write_memory, target_write_raw_memory): Return
+ TARGET_XFER_E_IO on error. Adjust comments.
+ (get_target_memory): Pass TARGET_XFER_E_IO to memory_error,
+ instead of EIO.
+ * target.h (target_read, target_insert_breakpoint)
+ (target_remove_breakpoint): Adjust comments.
+ * valprint.c (partial_memory_read): Rename parameter, and adjust
+ comment.
+ (val_print_string): Use memory_error_message to build the memory
+ error string.
+
+2013-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * common/filestuff.c (gdb_fopen_cloexec): Remove initialization of
+ result variable. Rename variable fopen_e_ever_failed to
+ fopen_e_ever_failed_einval. Retry fopen only for errno EINVAL.
+
+2013-10-09 Pedro Alves <palves@redhat.com>
+
+ * monitor.c (monitor_write_memory, monitor_write_memory_bytes)
+ (monitor_write_memory_longlongs, monitor_write_memory_block):
+ Constify 'myaddr' parameter.
+ (monitor_xfer_memory): Adjust interface as monitor_xfer_partial
+ helper.
+ (monitor_xfer_partial): New function.
+ (init_base_monitor_ops): Don't install a deprecated_xfer_memory
+ hook. Install a to_xfer_partial hook.
+
+2013-10-09 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dwarf2_get_dwz_file): Update for type change in
+ bfd_get_alt_debug_link_info.
+
+2013-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ New flag OBJF_NOT_FILENAME.
+ * auto-load.c (auto_load_objfile_script): Check also OBJF_NOT_FILENAME.
+ * jit.c (jit_object_close_impl): Use OBJF_NOT_FILENAME for
+ allocate_objfile.
+ (jit_bfd_try_read_symtab): Use OBJF_NOT_FILENAME for
+ symbol_file_add_from_bfd.
+ * jv-lang.c (get_dynamics_objfile): Use OBJF_NOT_FILENAME for
+ allocate_objfile.
+ * objfiles.c (allocate_objfile): Assert OBJF_NOT_FILENAME if NAME is
+ NULL.
+ * objfiles.h (OBJF_NOT_FILENAME): New.
+
+2013-10-08 Tom Tromey <tromey@redhat.com>
+
+ * Makefile.in (SFILES): Add build-id.c.
+ (HFILES_NO_SRCDIR): Add build-id.h.
+ * build-id.c: New file, largely from elfread.c. Modified
+ most functions.
+ * build-id.h: New file.
+ * dwarf2read.c (dwarf2_get_dwz_file): Update for change to
+ bfd_get_alt_debug_link_info. Verify dwz file's build-id.
+ Search for dwz file using build-id.
+ * elfread.c (build_id_bfd_get, build_id_verify)
+ (build_id_to_debug_filename, find_separate_debug_file): Remove.
+
+2013-10-08 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (compare_names_with_case): Renamed from
+ compare_names, adding a new parameter "casing" and its handling.
+ New function documentation.
+ (compare_names): New function, implemented using
+ compare_names_with_case.
+
+2013-10-08 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_exception_sal): Remove advance declaration.
+
+2013-10-07 Tom Tromey <tromey@redhat.com>
+
+ * objfiles.c (free_objfile_per_bfd_storage): Delete the
+ demangled_names_hash.
+ (free_objfile): Don't delete the demangled_names_hash.
+ * objfiles.h (struct objfile_per_bfd_storage)
+ <demangled_names_hash>: New field.
+ (struct objfile) <demangled_names_hash>: Move to
+ objfile_per_bfd_storage.
+ * symfile.c (reread_symbols): Don't delete the
+ demangled_names_hash.
+ * symtab.c (create_demangled_names_hash): Update.
+ (symbol_set_names): Update.
+
+2013-10-07 Tom Tromey <tromey@redhat.com>
+
+ * gdb_bfd.c (struct gdb_bfd_data) <relocation_computed,
+ needs_relocations>: New fields.
+ (gdb_bfd_requires_relocations): New function.
+ * gdb_bfd.h (gdb_bfd_requires_relocations): Declare.
+ * objfiles.c (get_objfile_bfd_data): Disallow sharing if
+ the BFD needs relocations applied.
+
+2013-10-07 Pedro Alves <palves@redhat.com>
+
+ PR breakpoints/11568
+ * breakpoint.c (remove_threaded_breakpoints): Say "no longer in
+ the thread list" instead of "gone".
+
+2013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * NEWS: Mention new convenience variable $_exitsignal.
+ * corelow.c (core_open): Reset exit convenience variables. Set
+ $_exitsignal to the uncaught signal which generated the corefile.
+ * infrun.c (handle_inferior_event): Reset exit convenience
+ variables. Set $_exitsignal for TARGET_WAITKIND_SIGNALLED.
+ (clear_exit_convenience_vars): New function.
+ * inferior.h (clear_exit_convenience_vars): New prototype.
+
+2013-10-06 Yao Qi <yao@codesourcery.com>
+
+ * varobj.h: Add comments to enum varobj_languages.
+
+2013-10-04 Doug Evans <dje@google.com>
+
+ Add support for DWP file format version 2.
+ * NEWS: Mention support for DWP file format version 2.
+ * dwarf2read.c (dwarf2_section_info): Convert asection field to a
+ union of asection, containing_section. New fields virtual_offset
+ and is_virtual. Change type of readin filed from int to char.
+ (dwo_sections, dwo_file): Tweak comments.
+ (dwp_v2_section_ids): New enum.
+ (dwp_sections): New fields abbrev, info, line, loc, macinfo, macro,
+ str_offsets, types.
+ (virtual_v1_dwo_sections): Renamed from virtual_dwo_sections.
+ All uses updated.
+ (virtual_v2_dwo_sections): New struct.
+ (dwp_hash_table): New fields version, nr_columns. Change type of
+ section_pool field to a union.
+ (dwp_file): New field version.
+ (dwarf2_has_info): Check for virtual sections.
+ (get_containing_section): New function.
+ (get_section_bfd_owner, get_section_bfd_section): Call it.
+ (dwarf2_locate_sections): Update.
+ (dwarf2_section_empty_p): Update.
+ (dwarf2_read_section): Handle virtual sections.
+ (locate_dwz_sections): Update.
+ (create_dwp_hash_table): Document and handle V2 format.
+ (locate_v1_virtual_dwo_sections): Renamed from
+ locate_virtual_dwo_sections and update. All callers updated.
+ (create_dwo_unit_in_dwp_v1): Renamed from create_dwo_in_dwp.
+ Delete arg htab. Rename arg section_index to unit_index.
+ All callers updated.
+ (MAX_NR_V1_DWO_SECTIONS): Renamed from MAX_NR_DWO_SECTIONS.
+ All uses updated.
+ (create_dwp_v2_section, create_dwo_unit_in_dwp_v2): New functions.
+ (lookup_dwo_unit_in_dwp): Add V2 support.
+ (dwarf2_locate_dwo_sections): Update.
+ (dwarf2_locate_common_dwp_sections): Renamed from
+ dwarf2_locate_dwp_sections and update. All callers updated.
+ (dwarf2_locate_v2_dwp_sections): New function.
+ (open_and_init_dwp_file): Add V2 support.
+ (read_str_index): New locals str_section, str_offsets_section.
+
+2013-10-04 Pedro Alves <palves@redhat.com>
+
+ * common/ptid.c (null_ptid, minus_one_ptid, ptid_build)
+ (pid_to_ptid, ptid_get_pid, ptid_get_lwp, ptid_get_tid)
+ (ptid_equal, ptid_is_pid, ptid_lwp_p, ptid_tid_p): Replace
+ describing comments with references to ptid.h.
+ * common/ptid.h: Remove intro description of constructors,
+ accessors and predicates.
+ (struct ptid): Reformat.
+ (minus_one_ptid, ptid_build, pid_to_ptid, ptid_get_pid)
+ (ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid): Change
+ describing comments.
+
+2013-10-04 Joel Brobecker <brobecker@adacore.com>
+
+ * aix-thread.c (sync_threadlists): Add missing ')' in call
+ to ptid_build.
+
+2013-10-04 Joel Brobecker <brobecker@adacore.com>
+
+ * procfs.c (procfs_init_inferior): Fix typo causing the build
+ to fail.
+
+2013-10-04 Joel Brobecker <brobecker@adacore.com>
+
+ * aix-thread.c (ptrace32): Remove cast to addr_ptr.
+
+2013-10-04 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-main.c (run_one_inferior): Add function description.
+ Make ARG a pointer to an integer whose value determines whether
+ we should "run" or "start" the program.
+ (mi_cmd_exec_run): Add handling of the "--start" option.
+ Reject all other command-line options.
+ * NEWS: Add entry for "-exec-run"'s new "--start" option.
+
+2013-10-04 Yao Qi <yao@codesourcery.com>
+
+ * remote-notif.h (REMOTE_NOTIF_ID): New enum.
+ (struct notif_client) <pending_event>: Moved
+ to struct remote_notif_state.
+ <id>: New field.
+ (struct remote_notif_state) <pending_event>: New field.
+ (notif_event_xfree): Declare.
+ * remote-notif.c (handle_notification): Adjust.
+ (notif_event_xfree): New function.
+ (do_notif_event_xfree): Call notif_event_xfree.
+ (remote_notif_state_xfree): Call notif_event_xfree to free
+ each element in field pending_event.
+ * remote.c (discard_pending_stop_replies): Remove declaration.
+ (discard_pending_stop_replies_in_queue): Declare.
+ (remote_close): Call discard_pending_stop_replies_in_queue
+ instead of discard_pending_stop_replies.
+ (remote_start_remote): Adjust.
+ (stop_reply_xfree): Call notif_event_xfree.
+ (notif_client_stop): Adjust initialization.
+ (remote_notif_remove_all): Rename it to ...
+ (remove_stop_reply_for_inferior): ... this. Update comments.
+ Don't check INF is NULL.
+ (discard_pending_stop_replies): Return early if notif_state is
+ NULL. Adjust. Don't check INF is NULL.
+ (remote_notif_get_pending_events): Adjust.
+ (discard_pending_stop_replies_in_queue): New function.
+ (remote_wait_ns): Likewise.
+
+2013-10-04 Yao Qi <yao@codesourcery.com>
+
+ * remote-notif.c (DECLARE_QUEUE_P): Remove.
+ (notif_queue): Remove.
+ (remote_notif_process): Add one parameter 'notif_queue'.
+ Update comments. Callers update.
+ (remote_async_get_pending_events_token): Remove.
+ (remote_notif_register_async_event_handler): Remove.
+ (remote_notif_unregister_async_event_handler): Remove.
+ (handle_notification): Add parameter 'notif_queue'. Update
+ comments. Callers update.
+ (notif_xfree): Remove.
+ (remote_notif_state_allocate): New function.
+ (remote_notif_state_xfree): New function.
+ (_initialize_notif): Remove code to allocate queue.
+ * remote-notif.h (DECLARE_QUEUE_P): Moved from remote-notif.c.
+ (struct remote_notif_state): New.
+ (handle_notification): Update declaration.
+ (remote_notif_process): Likewise.
+ (remote_notif_register_async_event_handler): Remove.
+ (remote_notif_unregister_async_event_handler): Remove.
+ (remote_notif_state_allocate): Declare.
+ (remote_notif_state_xfree): Declare.
+ * remote.c (struct remote_state) <notif_state>: New field.
+ (remote_close): Don't call
+ remote_notif_unregister_async_event_handler. Call
+ remote_notif_state_xfree.
+ (remote_open_1): Don't call
+ remote_notif_register_async_event_handler. Call
+ remote_notif_state_allocate.
+
+2013-10-04 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (create_child_with_value): Remove 'const' from the
+ type of parameter 'name'.
+ (varobj_add_child): Likewise.
+ (install_dynamic_child): Remove 'const' from the type of
+ parameter 'name'.
+ (varobj_add_child): Likewise.
+ (create_child_with_value): Likewise. Update comments. Don't
+ duplicate 'name'.
+ (update_dynamic_varobj_children): Duplicate 'name'
+ and pass it to install_dynamic_child.
+
+2013-10-03 Phil Muldoon <pmuldoon@redhat.com>
+
+ * python/py-value.c (convert_value_from_python): Move PyInt_Check
+ conversion logic to occur after PyLong_Check. Comment on order
+ change significance.
+ * python/py-arch.c (archpy_disassemble): Comment on order of
+ conversion for integers and longs.
+
+2013-10-03 Pedro Alves <palves@redhat.com>
+
+ * common/linux-ptrace.c (linux_check_ptrace_features): Factor out
+ the PTRACE_O_TRACESYSGOOD and PTRACE_O_TRACEFORK to separate
+ functions. Always test for PTRACE_O_TRACESYSGOOD even if
+ PTRACE_O_TRACEFORK is not supported.
+ (linux_test_for_tracesysgood): New function.
+ (linux_test_for_tracefork): New function, factored out from
+ linux_check_ptrace_features, and also don't kill child_pid here.
+
+2013-10-03 Tristan Gingold <gingold@adacore.com>
+
+ * i386-darwin-nat.c (i386_darwin_dr_set): Fix argument type.
+ Remove verbose error reporting. Use detected state to
+ thread_set_state call.
+ (i386_darwin_dr_get): Fix return type. Remove verbose error
+ report.
+ Remove trailing spaces.
+
+2013-10-02 Pedro Alves <palves@redhat.com>
+
+ * cp-valprint.c (cp_print_value_fields): Adjust calls to
+ val_print_optimized_out.
+ * jv-valprint.c (java_print_value_fields): Likewise.
+ * p-valprint.c (pascal_object_print_value_fields): Likewise.
+ * dwarf2loc.c (dwarf2_evaluate_loc_desc_full)
+ <DWARF_VALUE_REGISTER>: If the register was not saved, return a
+ new optimized out value.
+ * findvar.c (address_from_register): Likewise.
+ * frame.c (put_frame_register): Tweak error string to say the
+ register was not saved, rather than optimized out.
+ * infcmd.c (default_print_one_register_info): Adjust call to
+ val_print_optimized_out. Use value_of_register instead of
+ get_frame_register_value.
+ * mi/mi-main.c (output_register): Use value_of_register instead of
+ get_frame_register_value.
+ * valprint.c (valprint_check_validity): Likewise.
+ (val_print_optimized_out): New value parameter. If the value is
+ lval_register, print <not saved> instead.
+ (value_check_printable, val_print_scalar_formatted): Adjust calls
+ to val_print_optimized_out.
+ * valprint.h (val_print_optimized_out): New value parameter.
+ * value.c (struct value) <optimized_out>: Extend comment.
+ (error_value_optimized_out): New function.
+ (require_not_optimized_out): Use it. Use a different string for
+ lval_register values.
+ * value.h (error_value_optimized_out): New declaration.
+ * NEWS: Mention <not saved>.
+
+2013-10-02 Joel Brobecker <brobecker@adacore.com>
+
+ * symtab.c (compare_search_syms): Use FILENAME_CMP instead of
+ strcmp to compare two symtab filenames.
+
+2013-10-02 Joel Brobecker <brobecker@adacore.com>
+
+ * symtab.c (search_symbols_equal): Delete.
+ (sort_search_symbols_remove_dups): Replace call to
+ search_symbols_equal by call to compare_search_syms,
+ adjusting as necessary.
+
+2013-10-02 Phil Muldoon <pmuldoon@redhat.com>
+
+ PR python/15579
+
+ * python/python.c: Document gdb.execute command in Python help.
+
+2013-10-02 Phil Muldoon <pmuldoon@redhat.com>
+
+ * python/py-frame.c (frame_info_to_frame_object): Use
+ gdbpy_convert_exception. Clean up Python object on failure.
+
2013-10-02 Phil Muldoon <pmuldoon@redhat.com>
* python/lib/gdb/command/frame_filters.py