Improve Executable displayed path (PR 15415 regression kind #2)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7ab79da31eafc4f68f85c1aad9ed7391abc5a3ce..ef37d1427d7de828302e53d230e128701f7d1d58 100644 (file)
+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
+       (InfoFrameFilter.list_frame_filters): Retrieve exception manually.
+       (ShowFrameFilterPriority.invoke): Ditto.
+
+2013-10-01  Keith Seitz  <keiths@redhat.com>
+
+       * linespec.c (struct ls_parser): Make 'saved_arg' const.
+       (parse_linespec): Make 'argptr' const.
+       Remove temporary cast of 'argptr' to const char **.
+       (decode_line_full): Pass const pointer to parse_linespec.
+       (decode_line_1): Likewise.
+       (decode_objc): Make local variable 'new_argptr' const.
+       (find_function_symbols): Remove temporary cast to char *
+       to find_imps.
+       * objc-lang.c (find_imps): Make argument 'method' const.
+       Return const.
+       * objc-lang.h (find_imps): Likewise.
+
+2013-10-01  Keith Seitz  <keiths@redhat.com>
+
+       * completer.c (skip_quoted_chars): Make all arguments const.
+       Return const.
+       (skip_quoted): Likewise.
+       * completer.h (skip_quoted_chars): Likewise.
+       (skip_quoted): Likewise.
+       * defs.h (skip_quoted): Remove duplicate declaration.
+       * jv-exp.y: Include completer.h.
+       (yylex): Remove unneccessary cast to char * fro skip_quoted.
+       * p-exp.y: Include completer.h.
+
+2013-10-01  Keith Seitz  <keiths@redhat.com>
+
+       * c-exp.y (parse_number): Make first argument const.
+       Make a copy of the input to manipulate.
+       (c_parse_escape): Make first argument const.
+       Make local variable 'tokptr' const.
+       (parse_string_or_char): Make first two arguments const.
+       (macro_original_text): Make const.
+       (lex_one_token): Make local variable 'tokstart' const.
+       Likewise for local variables named 'p'.
+       Cast away const for struct stoken (temporary).
+       * c-lang.h (c_parse_escpae): Make first argument const.
+       * cli/cli-cmds.c (echo_command): Make local variable 'p'
+       const.
+       * cli/cli-setshow.c (do_set_command): Likewise for 'p' in
+       var_string case.
+       * f-exp.y (parse_number): Make first argument const.
+       (match_string_literal): Make local variable 'tokstart'
+       const.
+       (yylex): Make local variable 'p' const.
+       Cast away const for struct stoken (temporary).
+       * go-exp.y (parse_number): Make first argument const.
+       (parse_string_or_char): Likewise.
+       Make local variable 'tokstart' const.
+       (lex_one_token): Likewise for numerous locals called 'p'.
+       Cast away const for struct stoken (temporary).
+       * jv-exp.y (parse_number): Make first argument const.
+       Make local variables 'tokstart' and 'tokptr' const.
+       Cast away const for call to skip_quoted (temporary).
+       (yylex): Make local variable 'p' const.
+       Cast away const for struct stoken (temporary).
+       * m2-exp.y (parse_number): Make local variable 'p' const.
+       (yylex): Likewise for 'tokstart'.
+       Cast away const for struct stoken (temporary).
+       Make local variable 'p' const.
+       * macroexp.c (get_character_constant): Pass a const string
+       to c_parse_escape.
+       (get_string_literal): Likewise.
+       (macro_expand_next): Make first argument const.
+       Cast away const for init_shared_buffer.
+       * macroexp.h (macro_expand_next): Make first argument const.
+       * p-exp.y (yylex): Make a local copy of 'lexptr'.
+       Pass a const string to c_parse_escape.
+       Make local variables 'p' and 'namestart' const.
+       * parse.c (lexptr): Make const.
+       (prev_lexptr): Likewise.
+       (find_template_name_end): Return const.
+       Make argument const, too.
+       (parse_exp_in_context): Make first argument const.
+       Remove the entire const_hack.
+       (parse_exp_in_context_1): Make first argument const.
+       * parser-defs.h (find_template_name_end): Return const.
+       Make argument const, too.
+       (lexptr): Make const.
+       (prev_lexptr): Likewise.
+       * utils.c (parse_escape): Make second argument const.
+       * utils.h (parse_escape): Likewise.
+
+2013-10-01  Keith Seitz  <keiths@redhat.com>
+
+       * ada-exp.y (write_object_renaming): Update: struct stoken.ptr
+       is now const.
+       (block_lookup): Make 'raw_name' and 'name' const.
+       * ada-lex.l (processString): Update for struct stoken.ptr.
+       * c-exp.y (qualified_name : TYPENAME COLONCOLON '~' name): Likewise.
+       (operator_stoken): Likewise.
+       (lex_one_token): Remove temporary cast to char * for
+       'yylval.sval.ptr'.
+       * f-exp.y (yylex): Likewise.
+       * gdb-types.c (lookup_struct_elt_type): Make argument 'name' const.
+       * gdbtypes.h (lookup_struct_elt_type): Likewisee.
+       * go-exp.y (lex_one_token): Remove temporary cast to char * for
+       'yylval.sval.ptr'.
+       * jv-exp.y (QualifiedName): Update for struct stoken.ptr.
+       (yylex): Remove temporary cast to char * for 'yylval.sval.ptr'.
+       * linespec.c (struct ls_parser): Make 'stream' const.
+       (find_parameter_list_end): Make argument 'input' and local
+       variable 'p' const.
+       (linespec_lexer_lex_string): Make local variables 'start' and
+       'p' const.
+       Use skip_spaces_const instead of skip_spaces.
+       (linespec_lexer_peek_token): Make local variable 'saved_stream'
+       const.
+       (parse_linespec): Temporarily cast 'argptr' to const for
+       'parser->lexer.stream'.
+       * m2-exp.y (yylex): Remove temporary cast to char * for
+       'yylval.sval.ptr'.
+       * objc-lang.c (add_msglist): Make local variable 'p' const.
+       * p-exp.y (exp : exp '['): Update for struct stoken.ptr.
+       (exp : STRING): Make 'sp' const.
+       (parse_number): Make argument 'p' const.
+       * parser-defs.h (struct stoken): Make 'ptr' const.
+
+2013-10-01  Doug Evans  <dje@google.com>
+
+       * cli/cli-decode.c: Remove unnecessary inclusion of tui/tui.h.
+
+2013-10-01  Yao Qi  <yao@codesourcery.com>
+
+       * varobj.c (c_value_of_root): Remove declaration.
+       (cplus_value_of_root, java_value_of_root): Likewise.
+       (ada_value_of_root): Likewise.
+       (struct language_specific) <value_of_root>: Remove.
+       (languages): Update initialization.
+       (check_scope): Move earlier.
+       (c_value_of_root): Move earlier and rename to ...
+       (value_of_root_1): ... this.
+       (value_of_root): Caller update.
+       (cplus_value_of_root, java_value_of_root): Remove.
+       (ada_value_of_root): Remove.
+
+2013-10-01  Yao Qi  <yao@codesourcery.com>
+
+       * varobj.c (varobj_format_string): Remove "unknown".
+       (languages): Remove the first element.
+       * varobj.h (enum varobj_languages): Remove vlang_c.
+
+2013-10-01  Yao Qi  <yao@codesourcery.com>
+
+       * varobj.c (struct language_specific) <language>: Remove.
+       (languages): Update the initialization.
+
+2013-10-01  Yao Qi  <yao@codesourcery.com>
+
+       * arm-wince-tdep.c: Remove inclusion of "solib.h" and
+       "solib-target.h".  Include "windows-tdep.h".
+       (arm_wince_init_abi): Call windows_init_abi.  Remove call to
+       set_solib_ops and set_gdbarch_has_dos_based_file_system.
+       * configure.tgt (arm*-wince-pe | arm*-*-mingw32ce*): Append
+       windows-tdep.o to gdb_target_obs.
+
+2013-10-01  Yao Qi  <yao@codesourcery.com>
+
+       * amd64-windows-tdep.c: Remove inclusion of "solib.h" and
+       "solib-target.h".
+       (amd64_windows_init_abi): Don't call set_solib_ops and
+       set_gdbarch_iterate_over_objfiles_in_search_order.  Call
+       windows_init_abi instead.
+       * i386-cygwin-tdep.c: Remove inclusion of "solib.h" and
+       "solib-target.h".
+       (i386_cygwin_init_abi): Don't call set_solib_ops,
+       set_gdbarch_has_dos_based_file_system and
+       set_gdbarch_iterate_over_objfiles_in_search_order.  Call
+       windows_init_abi instead.
+       * windows-tdep.c: Include "solib.h" and "solib-target.h".
+       (windows_init_abi): New function.
+       (windows_iterate_over_objfiles_in_search_order): Make it
+       static.
+       * windows-tdep.h (windows_init_abi): Declare.
+       (windows_iterate_over_objfiles_in_search_order): Remove
+       declaration.
+
+2013-10-01  Jerome Guitton  <guitton@adacore.com>
+
+       Checked in by Joel Brobecker  <brobecker@adacore.com>
+       * system-gdbinit/elinos.py (get_elinos_environment): Return an
+       incomplete dictionnary instead of None in case of missing
+       environment variables.
+       (elinos_init): in case of an incomplete environment, best
+       effort to load system libraries instead of abort.
+
+2013-10-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_has_this_exception_support): Ignore
+       mst_solib_trampoline minimal symbols.
+
+2013-09-30  Tristan Gingold  <gingold@adacore.com>
+
+       * i386-darwin-nat.c (darwin_complete_target): Install methods for
+       hardware watchpoint.
+       (i386_darwin_dr_set): Support 32 and 64 bit states.
+       (i386_darwin_dr_get): Likewise.
+       (i386_darwin_dr_set_control): Make static.
+       (i386_darwin_dr_set_addr, i386_darwin_dr_get_addr)
+       (i386_darwin_dr_get_status, i386_darwin_dr_get_control): Likewise.
+
+2013-09-30  Luis Machado  <lgustavo@codesourcery.com>
+
+       * aarch64-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       Replace GET_LWP with ptid_get_lwp.
+       * aix-thread.c (BUILD_THREAD, BUILD_LWP): Remove.
+       Replace BUILD_THREAD with ptid_build.
+       Replace BUILD_LWP with ptid_build.
+       Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       * alphabsd-nat.c: Replace PIDGET with ptid_get_pid.
+       * amd64-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       * amd64bsd-nat.c: Replace PIDGET with ptid_get_pid.
+       * arm-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       Replace GET_LWP with ptid_get_lwp.
+       * armnbsd-nat.c: Replace PIDGET with ptid_get_pid.
+       * auxv.c: Likewise.
+       * breakpoint.c: Likewise.
+       * common/ptid.c (ptid_is_pid): Condense check for
+       null_ptid and minus_one_ptid.
+       (ptid_lwp_p): New function.
+       (ptid_tid_p): New function.
+       * common/ptid.h: Update comments for accessors.
+       (ptid_lwp_p): New prototype.
+       (ptid_tid_p): New prototype.
+       * defs.h (PIDGET, TIDGET, MERGEPID): Do not define.
+       * gcore.c: Replace PIDGET with ptid_get_pid.
+       * gdbthread.h: Likewise.
+       * gnu-nat.c: Likewise.
+       * hppa-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       * hppabsd-nat.c: Replace PIDGET with ptid_get_pid.
+       * hppanbsd-nat.c: Likewise.
+       * i386-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       * i386bsd-nat.c: Replace PIDGET with ptid_get_pid.
+       * ia64-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       * infcmd.c: Likewise.
+       * inferior.h: Likewise.
+       * inflow.c: Likewise.
+       * infrun.c: Likewise.
+       * linux-fork.c: Likewise.
+       * linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace GET_PID with ptid_get_pid.
+       Replace is_lwp with ptid_lwp_p.
+       Replace GET_LWP with ptid_get_lwp.
+       Replace BUILD_LWP with ptid_build.
+
+2013-09-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * common/linux-btrace.c: Move sys/syscall.h out of the
+       HAVE_LINUX_PERF_EVENT_H check and wrap it in HAVE_SYS_SYSCALL_H.
+       Also check for SYS_perf_event_open before attempting to buid.
+
+2013-09-27  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf2_section_info): Add comment.
+       (dwp_file): Split loaded_cutus into loaded_cus, loaded_tus.
+       All uses updated.
+       (dwarf2_section_empty_p): Rename arg from "info" to "section".
+       (dwarf2_read_section): Delete unused local "header".  Add section
+       name to error message.
+       (create_dwo_in_dwp): Tweak comment.
+       (MAX_NR_DWO_SECTIONS): Combine count of .debug_macro + .debug_macinfo.
+
+       * dwarf2read.c (die_reader_specs): Tweak comment.
+       (get_section_bfd_owner, get_section_bfd_section): New functions.
+       (get_section_name, get_section_file_name): New functions.
+       (get_section_id, get_section_flags): New functions.
+       (*): Use new functions to access section fields.
+
+       * dwarf2read.c (struct dwo_file): Add/tweak comments.
+       (lookup_dwo_unit_in_dwp): Renamed from lookup_dwo_in_dwp.  Remove
+       arg "htab".  All callers updated.
+       (create_debug_types_hash_table): Remove redundant copy of
+       abbrev_section.
+       (create_dwo_in_dwp): Tweak comments.
+       (read_str_index): Tweak comment.  Record dwarf form name in static
+       local.
+
+2013-09-27  Pedro Alves  <palves@redhat.com>
+
+       * remote.h (REMOTE_SYSROOT_PREFIX): New define.
+       (remote_filename_p): Add comment.
+       * remote.c (remote_filename_p): Adjust to use
+       REMOTE_SYSROOT_PREFIX.
+       * solib.c (solib_find): When deciding whether we need to add a
+       directory separator, check whether the sysroot is "remote:"
+       instead of checking whether the patch has a drive spec.  Add
+       comments.
+
+2013-09-27  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (struct stop_reply) <solibs_changed, replay_event>:
+       Delete fields.
+       (remote_parse_stop_reply): Adjust, setting event->ws.kind
+       directly.
+
+2013-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix set debug frame output.
+       * frame.c (fprint_frame_type): Add TAILCALL_FRAME entry.  Move
+       SENTINEL_FRAME entry lower to match enum frame_type order.
+
+2013-09-26  Pierre Muller  <muller@sourceware.org>
+
+       Replace constant values 8 to 15 by AMD64_R8_REGNUM to
+       AMD64_R15_REGNUM when a register index is expected.
+       * amd64-windows-tdep.c (amd64_windows_dummy_call_integer_regs):
+       Substitute in array.
+       * amd64-tdep.c (amd64_dwarf_regmap): Ditto.
+       (amd64_push_arguments): Substitute in integer_regnum array.
+
+2013-09-25  Doug Evans  <dje@google.com>
+
+       * objfiles.c (allocate_objfile): Move comment to better place.
+
+       New option "set debug symfile on".
+       * NEWS: Mention "set debug symfile".
+       * Makefile.in (SFILES): Add symfile-debug.c.
+       (COMMON_OBS): Add symfile-debug.o.
+       * elfread.c (elf_symfile_read): Use objfile_set_sym_fns to set the
+       objfile's symbol functions.
+       * objfiles.h (objfile_set_sym_fns): Declare.
+       * symfile-debug.c: New file.
+       * symfile.c (syms_from_objfile_1): Use objfile_set_sym_fns to set the
+       objfile's symbol functions.
+       (reread_symbols): Ditto.
+
+       * symfile.h (struct sym_fns): Delete member "sym_flavour".
+       All uses updated.
+       (add_symtab_fns): Update prototype.
+       * symfile.c (sym_fns_ptr): Delete.  Replace with ...
+       (registered_sym_fns): ... this.
+       (symtab_fns): Update.
+       (add_symtab_fns): New arg "flavour".  All callers updated.
+       (find_sym_fns): Rewrite to use new sym_fns registry.
+
+       * symfile.h (struct sym_fns): Add "objfile" argument to
+       sym_read_linetable.  All uses updated.
+
+       * symtab.c (domain_name, search_domain_name): New functions.
+       * symtab.h (domain_name, search_domain_name): Declare.
+
+       * symfile.h (struct quick_symbol_functions): Reorg arg list of
+       map_matching_symbols so objfile is first.  All uses updated.
+       * dwarf2read.c (dw2_map_matching_symbols): Update signature.
+       * psymtab.c (map_matching_symbols_psymtab): Update signature.
+
+2013-09-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       PR shlibs/8882
+       * solib-svr4.c (svr4_read_so_list): Skip the vDSO when reading
+       link map entries.
+
+2013-09-24  Doug Evans  <dje@google.com>
+
+       * objfiles.c (free_objfile): Move comment.
+
+2013-09-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-exp.y (string_to_operator): Delete.
+       (dummy_string_to_ada_operator): Delete.
+
+2013-09-24  Joel Brobecker  <brobecker@adacore.com>
+
+       Revert:
+       * i386-tdep.h (enum amd64_reg_class): New, moved here from
+       amd64-tdep.c.
+       (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs,
+       call_dummy_integer_regs, and classify.
+       * amd64-tdep.h (amd64_classify): Add declaration.
+       * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant.
+       (amd64_reg_class): Delete, moved to i386-tdep.h.
+       (amd64_classify): Make non-static.  Move declaration to amd64-tdep.h.
+       Replace call to amd64_classify by call to tdep->classify.
+       (amd64_push_arguments): Get the list of registers to use for
+       passing integer parameters from the gdbarch tdep structure,
+       rather than using a hardcoded one.  Replace calls to amd64_classify
+       by calls to tdep->classify.
+       (amd64_push_dummy_call): Get the register number used for
+       the "hidden" argument from tdep->call_dummy_integer_regs.
+       (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs
+       and tdep->call_dummy_integer_regs.  Set tdep->classify.
+
+2013-09-24  Joel Brobecker  <brobecker@adacore.com>
+
+       Revert:
+       * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer.
+       * amd64-tdep.c (amd64_push_arguments): Add handling of architectures
+       where tdep->memory_args_by_pointer is non-zero.
+
+2013-09-24  Joel Brobecker  <brobecker@adacore.com>
+
+       Revert:
+       * i386-tdep.h (struct gdbarch_tdep): Add new field
+       integer_param_regs_saved_in_caller_frame.
+       * amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on
+       stack if tdep->integer_param_regs_saved_in_caller_frame is set.
+
+2013-09-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * amd64-windows-tdep.c: #include "value.h"
+       (amd64_windows_classify): Delete.
+       (amd64_windows_passed_by_integer_register)
+       (amd64_windows_passed_by_xmm_register)
+       (amd64_windows_passed_by_pointer)
+       (amd64_windows_adjust_args_passed_by_pointer)
+       (amd64_windows_store_arg_in_reg, amd64_windows_push_arguments)
+       (amd64_windows_push_dummy_call): New functions.
+       (amd64_windows_init_abi): Remove setting of
+       tdep->call_dummy_num_integer_regs, tdep->call_dummy_integer_regs,
+       tdep->classify, tdep->memory_args_by_pointer and
+       tdep->integer_param_regs_saved_in_caller_frame.
+       Add call to set_gdbarch_push_dummy_call.
+
+2013-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (open_and_init_dwp_file): Try open_dwp_file also with
+       objfile->original_name.
+
+2013-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Pass down original filename for objfile.
+       * coffread.c (coff_symfile_read): Update symbol_file_add_separate call.
+       * elfread.c (elf_symfile_read): Likewise.
+       * jit.c (jit_object_close_impl): Update allocate_objfile call, no
+       longer set ORIGINAL_NAME.
+       (jit_bfd_try_read_symtab): Update symbol_file_add_from_bfd call.
+       * jv-lang.c (get_dynamics_objfile): Update allocate_objfile call.
+       * machoread.c (macho_add_oso_symfile): Add parameter name.  Update
+       symbol_file_add_from_bfd call.
+       (macho_symfile_read_all_oso): Update two macho_add_oso_symfile calls.
+       (macho_check_dsym): Add parameter filenamep.  Change function comment.
+       Set *filenamep.
+       (macho_symfile_read): New variable dsym_filename.  Update
+       macho_check_dsym call.  Use it for symbol_file_add_separate.
+       * objfiles.c (allocate_objfile): Add parameter name.  New comment for
+       it.  Use it for objfile->original_name.
+       (objfile_name): Return OBFD's filename, if available.
+       * objfiles.h (allocate_objfile): Add new parameter name.
+       * solib.c (solib_read_symbols): Update symbol_file_add_from_bfd call.
+       * symfile-mem.c (symbol_file_add_from_memory): Update
+       symbol_file_add_from_bfd call.
+       * symfile.c (read_symbols): Update symbol_file_add_separate call, new
+       comment for it.
+       (symbol_file_add_with_addrs): New parameter name, add function comment
+       for it.  Remove variable name.  Update allocate_objfile call.
+       (symbol_file_add_separate): New parameter name, add function comment
+       for it.  Update symbol_file_add_with_addrs call.
+       (symbol_file_add_from_bfd): New parameter name.  Update
+       symbol_file_add_with_addrs call.
+       (symbol_file_add): Update symbol_file_add_from_bfd call.
+       (reread_symbols): New variable original_name.  Save
+       objfile->original_name by it.
+       * symfile.h (symbol_file_add_from_bfd, symbol_file_add_separate): Add
+       second parameter.
+
+2013-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup: Add objfile_name accessor function.
+       * ada-lang.c (is_known_support_routine): Use objfile_name.
+       * auto-load.c (source_gdb_script_for_objfile)
+       (auto_load_objfile_script): Likewise.
+       * coffread.c (coff_symtab_read, read_one_sym): Likewise.
+       * dbxread.c (dbx_symfile_read): Likewise.
+       * dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
+       * dwarf2loc.c (locexpr_describe_location_piece): Likewise.
+       * dwarf2read.c (dwarf2_get_dwz_file, dwarf2_read_index)
+       (dw2_symtab_iter_next, dw2_expand_symtabs_matching)
+       (lookup_dwp_signatured_type, lookup_dwo_unit)
+       (dwarf2_build_psymtabs_hard, scan_partial_symbols, process_queue)
+       (fixup_go_packaging, process_imported_unit_die, dwarf2_physname)
+       (read_import_statement, create_dwo_cu, open_and_init_dwp_file)
+       (lookup_dwo_cutu, read_call_site_scope, dwarf2_ranges_read)
+       (dwarf2_record_block_ranges, read_common_block, read_typedef)
+       (read_subrange_type, load_partial_dies, read_partial_die)
+       (read_addr_index_1, read_str_index, dwarf_decode_lines_1)
+       (die_containing_type, build_error_marker_type, lookup_die_type)
+       (follow_die_ref_or_sig, follow_die_ref, dwarf2_fetch_die_loc_sect_off)
+       (dwarf2_fetch_constant_bytes, follow_die_sig, get_signatured_type)
+       (get_DW_AT_signature_type, write_psymtabs_to_index)
+       (save_gdb_index_command): Likewise.
+       * elfread.c (find_separate_debug_file_by_buildid, elf_symfile_read):
+       Likewise.
+       * expprint.c (dump_subexp_body_standard): Likewise.
+       * gdbtypes.c (type_name_no_tag_or_error): Likewise.
+       * jit.c (jit_object_close_impl): Use the objfile field name renamed to
+       original_name.
+       * linux-thread-db.c (try_thread_db_load_from_pdir_1): New variable
+       obj_name, use objfile_name for it, use the variable.
+       (try_thread_db_load_from_pdir, has_libpthread, thread_db_new_objfile):
+       Use objfile_name.
+       * machoread.c (macho_symtab_read, macho_check_dsym)
+       (macho_symfile_relocate): Likewise.
+       * maint.c (maintenance_translate_address): Likewise.
+       * minidebug.c (find_separate_debug_file_in_section): Likewise.
+       * minsyms.c (install_minimal_symbols): Likewise.
+       * objfiles.c (allocate_objfile): Use the objfile field name renamed to
+       original_name.
+       (filter_overlapping_sections): Use objfile_name.
+       (objfile_name): New function.
+       * objfiles.h (struct objfile): Rename field name to original_name.
+       (objfile_name): New prototype.
+       * printcmd.c (sym_info, address_info): Use objfile_name.
+       * probe.c (parse_probes, collect_probes, compare_probes)
+       (info_probes_for_ops): Likewise.
+       * progspace.c (clone_program_space): Likewise.
+       * psymtab.c (require_partial_symbols, dump_psymtab, allocate_psymtab)
+       (maintenance_info_psymtabs): Likewise.
+       * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile)
+       (source_section_scripts): Likewise.
+       * python/py-objfile.c (objfpy_get_filename): Likewise.
+       * python/py-progspace.c (pspy_get_filename): Likewise.
+       * solib-aix.c (solib_aix_get_toc_value): Likewise.
+       * solib-som.c (match_main, som_solib_section_offsets): Likewise.
+       * solib.c (solib_read_symbols): Likewise.
+       * stabsread.c (scan_file_globals): Likewise.
+       * stap-probe.c (handle_stap_probe): Likewise.
+       * symfile.c (symbol_file_clear, separate_debug_file_exists)
+       (find_separate_debug_file_by_debuglink): Likewise.
+       (reread_symbols): Likewise.  Use the objfile field name renamed to
+       original_name.
+       (allocate_symtab): Use objfile_name.
+       * symmisc.c (print_symbol_bcache_statistics, print_objfile_statistics)
+       (dump_objfile, dump_msymbols, dump_symtab_1)
+       (maintenance_print_msymbols, maintenance_print_objfiles)
+       (maintenance_info_symtabs, maintenance_check_symtabs): Likewise.
+       * target.c (target_translate_tls_address, target_info): Likewise.
+       * xcoffread.c (xcoff_initial_scan): Make variable name const.  Use
+       objfile_name.
+
+2013-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * probe.c (parse_probes): Rename variable objfile_name to
+       objfile_namestr.
+
+2013-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Remove solib-sunos.c.
+       * Makefile.in (ALLDEPFILES): Remove solib-sunos.c.
+       * config/m68k/obsd.mh (NATDEPFILES): Remove solib-sunos.o.
+       * objfiles.c (rt_common_objfile): Remove.
+       (free_objfile): Remove rt_common_objfile comparison.
+       * objfiles.h (rt_common_objfile): Remove.
+       * solib-sunos.c: Remove.
+       * symfile.c (reread_symbols): Remove solib-sunos.c comment.
+
+2013-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Remove a.out NetBSD and OpenBSD hosts.
+       * NEWS (Removed native configurations): New.
+       * config/arm/nbsdaout.mh: Remove.
+       * config/i386/nbsdaout.mh: Remove.
+       * config/i386/obsdaout.mh: Remove.
+       * config/m68k/nbsdaout.mh: Remove.
+       * config/sparc/nbsdaout.mh: Remove.
+       * config/vax/nbsdaout.mh: Remove.
+       * configure.host (arm*-*-netbsd*, i[34567]86-*-netbsd*)
+       (i[34567]86-*-openbsd[0-2].*, i[34567]86-*-openbsd3.[0-3])
+       (m68*-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Add them to obsolete
+       error.
+       (arm*-*-netbsd*, i[34567]86-*-netbsd*, i[34567]86-*-openbsd[0-2].*)
+       (i[34567]86-*-openbsd3.[0-3], m68*-*-netbsd*, sparc-*-netbsdaout*)
+       (sparc-*-netbsd*, vax-*-netbsd*): Remove.
+
+2013-09-23  Tom Tromey  <tromey@redhat.com>
+
+       * linespec.c (struct minsym_and_objfile): Remove.
+       (minsym_and_objfile_d): Remove.
+       (struct linespec, struct collect_info, linespec_parse_basic)
+       (convert_linespec_to_sals, linespec_parser_delete, decode_objc)
+       (compare_msymbols, find_method, find_function_symbols)
+       (find_linespec_symbols, struct collect_minsyms, compare_msyms)
+       (add_minsym, search_minsyms_for_name): Update.
+
+2013-09-23  Andrew Burgess  <aburgess@broadcom.com>
+
+       * regcache.c: Add include of valprint.h.
+       (dump_endian_bytes): Delete.
+       (regcache_dump): Use print_hex_chars not dump_endian_bytes.
+
+2013-09-23  Andrew Burgess  <aburgess@broadcom.com>
+
+       * sh64-tdep.c (sh64_do_fp_register): Use print_hex_chars.
+
+2013-09-19  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (remove_threaded_breakpoints): Skip non-user
+       breakpoints.
+
+2013-09-19  Pedro Alves  <palves@redhat.com>
+           Thomas Schwinge  <thomas@codesourcery.com>
+           Yue Lu  <hacklu.newborn@gmail.com>
+
+       * gnu-nat.c (gnu_read_inferior, gnu_write_inferior): Make static.
+       Take a gdb_byte pointer instead of a char pointer.
+
+       * gnu-nat.c (gnu_xfer_memory): Adjust interface as
+       gnu_xfer_partial helper.
+       (gnu_xfer_partial): New function.
+       (gnu_target): Don't install a deprecated_xfer_memory hook.
+       Install a to_xfer_partial hook.
+
+2013-09-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Constification.
+       * main.c (captured_main): Replace catch_command_errors by
+       catch_command_errors_const.  Twice.
+       * symfile.c (symbol_file_add_main_1): Make args parameter const.
+       (symbol_file_add): Make name parameter const.
+       (symbol_file_add_main, symbol_file_add_main_1): Make args parameter const.
+       (symfile_bfd_open): Make name parameter const, rename it to cname.  Add
+       variable name.  Change their usage accordingly.
+       * symfile.h (symbol_file_add, symfile_bfd_open): Make first parameter
+       const.
+       (symbol_file_add_main): Make args parameter const.
+
+2013-09-18  Raunaq Bathija  <raunaq12@in.ibm.com>
+           Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * xcoffread.c (struct coff_symbol): Use CORE_ADDR as type
+       of c_value member.
+       (read_xcoff_symtab): Use CORE_ADDR as type of fcn_start_addr.
+
+2013-09-18  Pedro Alves  <palves@redhat.com>
+           Yue Lu  <hacklu.newborn@gmail.com>
+
+       * gnu-nat.c (inf_validate_procs, gnu_wait, gnu_resume)
+       (gnu_create_inferior)
+       (gnu_attach, gnu_thread_alive, gnu_pid_to_str, cur_thread)
+       (set_sig_thread_cmd): Use the lwpid field of ptids to
+       store/extract thread ids instead of the tid field.
+       * i386gnu-nat.c (gnu_fetch_registers): Adjust.
+
 2013-09-18  Andrew Burgess  <aburgess@broadcom.com>
 
        * infcmd.c (default_print_one_register_info): Add detection of
This page took 0.035143 seconds and 4 git commands to generate.