Delegate to target_ops->beneath for TARGET_OBJECT_RAW_MEMORY
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 4bc944c349b1f27c48da33377b44059bfee3e1a9..e86f5c3397d92046bdf28fe93524dc0b6a6fe452 100644 (file)
@@ -1,3 +1,213 @@
+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.
+       * target-dcache.c (code_cache_enabled_1): New variable.
+       (code_cache_enabled): New variable.
+       (show_code_cache, set_code_cache): New function.
+       (code_cache_enabled_p): New function.
+       (_initialize_target_dcache): Register command.
+       * target-dcache.h (code_cache_enabled_p): Declare.
+       * target.c (memory_xfer_partial_1):Handle
+       TARGET_OBJECT_CODE_MEMORY and code_cache_enabled.
+       (target_read_code): New function.
+       * target.h (enum target_object) <TARGET_OBJECT_CODE_MEMORY>:
+       New.
+       (target_read_code): Declare.
+
+2013-11-24  Yao Qi  <yao@codesourcery.com>
+
+       * target-dcache.c (stack_cache_enabled_p_1): Rename to ...
+       (stack_cache_enabled_1): ... this.  New variable.
+       (stack_cache_enabled_p): Rename to ...
+       (stack_cache_enabled): ... this.  New variable.
+       (set_stack_cache_enabled_p): Rename to ...
+       (set_stack_cache): ... this.  Update caller.
+       (show_stack_cache_enabled_p): Rename to ...
+       (show_stack_cache): ... this.  Update caller.
+       (stack_cache_enabled): Rename to ...
+       (stack_cache_enabled_p): ... this.  Update caller.
+       (_initialize_target_dcache): Replace "data cache" with
+       "target memory cache".
+       * target-dcache.h (stack_cache_enabled): Remove declaration.
+       (stack_cache_enabled_p): Add declaration.
+
+2013-11-23  Doug Evans  <xdje42@gmail.com>
+
+       * python/py-frame.c (gdbpy_initialize_frames): Remove FIRST_ERROR,
+       superfluous.
+
+2013-11-23  Doug Evans  <xdje42@gmail.com>
+
+       * python/py-frame.c (frapy_block): Fix error message text.
+
+2013-11-23  Doug Evans  <xdje42@gmail.com>
+
+       * cli/cli-script.c (multi_line_command_p): New function.
+       (recurse_read_control_structure, read_command_lines_1): Call it.
+       (execute_control_command): Consistently have a blank line between
+       each case.
+
+2013-11-22  Sterling Augustine  <saugustine@google.com>
+
+       PR gdb/16196:
+       * valprint.c (read_string): Set new variable fetchlen based on
+       fetchlimit and size.  Use it in call to partial_memory_read.
+       Update comment.
+
+2013-11-22  Tom Tromey  <tromey@redhat.com>
+
+       PR backtrace/16155:
+       * dwarf2-frame.c (dwarf2_frame_cache): Set undefined_retaddr if
+       the return address column is unspecified.
+
+2013-11-22  Tom Tromey  <tromey@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       PR backtrace/16155
+       * value.c (value_fetch_lazy): Internal error if
+       get_frame_register_value returns the same register.
+
+2013-11-22  Pedro Alves  <palves@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * frame.c (frame_stash_add): Now returns whether a frame with the
+       same ID was already known.
+       (compute_frame_id): New function, factored out from get_frame_id.
+       (get_frame_id): No longer lazilly compute the frame id here.
+       (get_prev_frame_if_no_cycle): New function.  Detects wider stack
+       cycles.
+       (get_prev_frame_1): Use it instead of get_prev_frame_raw directly,
+       and checking for stack cycles here.
+
+2013-11-22  Pedro Alves  <palves@redhat.com>
+
+       PR 16155
+       * frame.c (get_prev_frame_1): Do the UNWIND_SAME_ID check between
+       this frame and the new previous frame, not between this frame and
+       the next frame.
+
+2013-11-22  Pedro Alves  <palves@redhat.com>
+
+       PR 16155
+       * dwarf2-frame.c (struct dwarf2_frame_cache)
+       <checked_tailcall_bottom, entry_cfa_sp_offset,
+       entry_cfa_sp_offset_p>: New fields.
+       (dwarf2_frame_cache): Adjust to use the new cache fields instead
+       of locals.  Don't call dwarf2_tailcall_sniffer_first here.
+       (dwarf2_frame_prev_register): Call it here, but only once.
+
 2013-11-21  Doug Evans  <xdje42@gmail.com>
 
        * gdbtypes.c: #include bcache.h, dwarf2loc.h.
 2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
 
        * python/lib/gdb/command/bound_register.py: New file.
-       * gdb/data-directory/Makefile.in: copy bond_register.py to the right path to
-       be initialized at gdb startup.
+       * data-directory/Makefile.in: Copy bond_register.py to the right path
+       to be initialized at gdb startup.
 
 2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
 
This page took 0.165152 seconds and 4 git commands to generate.