Add new target_read_raw_memory function, and consolidate comments.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b91eb51f9b0e3d0e04b6afa5ce103040648a10e7..2e4066457c70958ed33517992bb62e28453315fd 100644 (file)
@@ -1,3 +1,245 @@
+2013-12-02  Pedro Alves  <palves@redhat.com>
+
+       * dcache.c (dcache_read_line): Use target_read_raw_memory.
+       * target.c (target_read_raw_memory): New function.
+       (target_read_stack, target_write_memory, target_write_raw_memory):
+       Update comment.
+       (target_read_code): Add comment.
+       * target.h (target_read_raw_memory): Declare.
+
+2013-12-02  Pedro Alves  <palves@redhat.com>
+
+       * ctf.c (ctf_start): Use S_IRGRP, S_IXGRP, S_IXOTH
+       unconditionally.
+
+2013-12-02  Pedro Alves  <pedro@codesourcery.com>
+            Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * remote.c (putpkt_for_catch_errors): Remove function.
+       (remote_kill): Handle TARGET_CLOSE_ERROR from the kill packet
+       gracefully.
+
+2013-12-02  Pedro Alves  <palves@redhat.com>
+
+       PR remote/15974
+       * remote-notif.c (handle_notification): Return early if no
+       notification is found.
+
+2013-12-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * common/filestuff.c (fdwalk): Add "defined(RLIMIT_NOFILE)"
+       preprocessor check.
+
+2013-12-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove "common/gdb_dirent.h".
+
+2013-12-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove "common/gdb_stat.h".
+       * ctf.c (ctf_start): Remove obsolete comment.
+
+2013-12-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove "common/gdb_string.h".
+
+2013-11-30  Doug Evans  <xdje42@gmail.com>
+
+       * auto-load.h (script_language): New members name, auto_load_enabled.
+       Add missing comments on struct members.
+       (auto_load_objfile_script): Delete.
+       * auto-load.c: #include "cli/cli-cmds.h".
+       (auto_load_gdb_scripts_enabled): New function.
+       (script_language_gdb): Update, add new members.
+       (source_gdb_script_for_objfile): Simplify, auto-load safe-checking
+       and call to maybe_add_script moved to caller.
+       (auto_load_objfile_script_1): Auto-load safe-checking and
+       call to maybe_add_script moved here.
+       (auto_load_objfile_script): Make static.  Early exit if support for
+       scripting language hasn't been compiled in, or auto-loading has been
+       disabled.
+       (source_section_scripts): Argument "source_name" renamed to
+       "section_name".  All uses updated.  Replace uses of AUTO_SECTION_NAME
+       with section_name.  Skip loading script if support for scripting
+       language hasn't been compiled in, or auto-loading has been disabled.
+       Call language->source_script_for_objfile instead of calling
+       source_python_script_for_objfile directly.
+       (load_auto_scripts_for_objfile): Update.
+       * python/py-auto-load.c: Delete #include "cli/cli-cmds.h".
+       (gdbpy_load_auto_script_for_objfile): Delete.
+       (auto_load_python_scripts_enabled): New function.
+       (script_language_python): Update, add new members.
+       (gdbpy_script_language_defn): New function.
+       * python/python.h (gdbpy_load_auto_scripts_for_objfile): Delete.
+       (gdbpy_script_language_defn): Declare.
+
+       * auto-load.c (AUTO_SECTION_NAME): Moved here and renamed from
+       py-auto-load.c, GDBPY_AUTO_SECTION_NAME.
+       (source_section_scripts): Moved here from py-auto-load.c.
+       (auto_load_section_scripts): Ditto.
+       * python/py-auto-load.c (GDBPY_AUTO_SECTION_NAME): Moved to
+       auto-load.c, renamed AUTO_SECTION_NAME.
+       (source_section_scripts, auto_load_section_scripts): Moved to
+       auto-load.c.
+
+2013-11-30  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (getpkt_or_notif_sane_1): Fix typo "checksm".
+
+2013-11-29  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdbarch.sh: Remove include of "gdb_string.h", replace by
+       <string.h>.
+
+2013-11-29  Doug Evans  <xdje42@gmail.com>
+
+       * python/py-auto-load.c (source_section_scripts): Move comment to
+       more relevant location.
+
+       Whitespace cleanup.
+       * python/py-breakpoint.c: Remove trailing whitespace.
+       * python/py-cmd.c: Ditto.
+       * python/py-evts.c: Ditto.
+       * python/py-finishbreakpoint.c: Ditto.
+       * python/py-frame.c: Ditto.
+       * python/py-function.c: Ditto.
+       * python/py-inferior.c: Ditto.
+       * python/py-infthread.c: Ditto.
+       * python/py-param.c: Ditto.
+       * python/py-prettyprint.c: Ditto.
+       * python/py-symbol.c: Ditto.
+       * python/py-type.c: Ditto.
+       * python/py-utils.c: Ditto.
+       * python/py-value.c: Ditto.
+       * python/python-internal.h: Ditto.
+       * python/python.c: Ditto.
+
+2013-11-29  Pedro Alves  <palves@redhat.com>
+
+       * unwind_stop_reasons.def (UNWIND_NULL_ID): Update comment.
+
+2013-11-29  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (build_target_condition_list): Release previous
+       conditions.
+       (build_target_command_list): Release previous commands.
+       (bp_location_dtor): Release target conditions and commands.
+       * remote.c (remote_add_target_side_condition): Don't release
+       conditions.
+       (remote_add_target_side_commands): Don't release commands.
+
+2013-11-29  Yao Qi  <yao@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * dcache.c (dcache_read_line): Use current_target.beneath
+       instead of &current_target.
+       * target.c (memory_xfer_partial_1): Factor code out to ...
+       (raw_memory_xfer_partial): ... it.  New function.
+       (target_xfer_partial): Call raw_memory_xfer_partial if OBJECT
+       is TARGET_OBJECT_RAW_MEMORY.
+
+2013-11-28  Doug Evans  <xdje42@gmail.com>
+
+       * breakpoint.h (gdbpy_breakpoint_object): Renamed from
+       breakpoint_object.  All uses updated.
+       * python/python-internal.h (gdbpy_breakpoint_object): Renamed from
+       breakpoint_object.  All uses updated.
+       * python.c (*): All uses of breakpoint_object updated.
+       * python.h (*): All uses of breakpoint_object updated.
+       * python/py-breakpoint.c (*): All uses of breakpoint_object updated.
+       * python/py-finishbreakpoint.c (*): Ditto.
+
+2013-11-28  Doug Evans  <xdje42@gmail.com>
+
+       * configure.ac: Add comments delineating libpython and libmcheck.
+       * configure: Regenerate.
+
+2013-11-28  Andrew Burgess  <aburgess@broadcom.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * valprint.c (value_check_printable): If the value is entirely
+       unavailable, print a single "<unavailable>" instead of printing
+       all subfields.
+
+2013-11-28  Pedro Alves  <palves@redhat.com>
+
+       * frame.c (get_prev_frame_1) <stop_reason != UNWIND_NO_REASON>:
+       Add "set debug frame" output.
+       (frame_stop_reason_symbol_string): New function.
+
+2013-11-28  Pedro Alves  <palves@redhat.com>
+
+       * frame-unwind.c (default_frame_unwind_stop_reason): Return
+       UNWIND_OUTERMOST if the frame's ID is outer_frame_id.
+       * frame.c (get_prev_frame_1): Remove outer_frame_id check.
+
+2013-11-28  Pedro Alves  <palves@redhat.com>
+
+       * frame.c (get_prev_frame_1): If the frame id is outer_frame_id,
+       set the unwind stop reason to UNWIND_OUTERMOST, not
+       UNWIND_NULL_ID.  Remove explicit check for sentinel frame.
+
+2013-11-28  Pedro Alves  <palves@redhat.com>
+
+       * frame.c (frame_unwind_register): Say the register was "not
+       saved" instead of "optimized out".
+
+2013-11-27  Steffen Sledz  <sledz@dresearch-fe.de>
+
+       PR 16152
+       * configure: Rebuild.
+       * configure.ac: Tighten cygwin detection check.
+
+2013-11-27  Pedro Alves  <palves@redhat.com>
+
+       * frame-unwind.c (frame_unwind_got_optimized): Use the type of the
+       register in the previous frame's arch.
+
+2013-11-27  Pedro Alves  <palves@redhat.com>
+
+       * frame-unwind.c (frame_unwind_got_optimized): Return
+       an lval_register value instead of a not_lval value.
+
+2013-11-27  Andrew Burgess  <aburgess@broadcom.com>
+
+       * frame.c: Include "valprint.h".
+       (frame_unwind_register_value): Use value_optimized_out.
+       * value.c (value_fetch_lazy): Likewise.
+
+2013-11-26  Andrew Burgess  <aburgess@broadcom.com>
+
+       * value.c (allocate_optimized_out_value): Mark value as non-lazy.
+
+2013-11-26  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2-frame.c (dwarf2_frame_cache): Revert patch from
+       2013-11-22.
+
+2013-11-26  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * i386-xstate.h (I386_XSTATE_MPX): New Macro.
+       (I386_XSTATE_MPX_MASK): Makes use of I386_XSTATE_MPX.
+       (HAS_MPX): New macro.
+       (HAS_AVX): New macro.
+       (I386_XSTATE_SIZE): Uses HAS_MPX and HAS_AVX.
+
+2013-11-25  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/14819
+       * c-exp.y (classify_inner_name): If no matching symbol was
+       found, try looking up the token as a base class.
+       Likewise if a constructor was found.
+       * cp-namespace.c (find_type_baseclass_by_name): New function.
+       * cp-support.h (find_type_baseclass_by_name): Declare.
+       * valops.c (value_struct_elt_for_reference): If we get
+       a non-static field, try to get a value based on the
+       current instance, if any.
+
+2013-11-24  Yao Qi  <yao@codesourcery.com>
+
+       * disasm.c (dis_asm_read_memory): Call target_read_code
+       instead of target_read_memory.
+
 2013-11-24  Yao Qi  <yao@codesourcery.com>
 
        * NEWS: Add note on new "set code-cache" option.
This page took 0.027263 seconds and 4 git commands to generate.