Improve Executable displayed path (PR 15415 regression kind #2)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5a18857556b96a69750a82795ab7d48416bd008c..ef37d1427d7de828302e53d230e128701f7d1d58 100644 (file)
@@ -1,3 +1,246 @@
+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.
This page took 0.029945 seconds and 4 git commands to generate.