gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8d74a1f8e1135bc0251509ffbd9b0de2d0f534d8..89ea6ac2405e0bb96a2831bc4966517229a0b620 100644 (file)
@@ -1,3 +1,200 @@
+2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR fortran/11104 and DWARF unbound arrays detection.
+       * dwarf2read.c (read_subrange_type): Set zero length on unspecified
+       upper bound.  Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
+       unspecified upper bound.
+       * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
+       variables array_size_array, tmp_type and offset_item.  New variable
+       array.  Remove call to f77_get_upperbound.  New variables array_type
+       and index.  Call value_subscripted_rvalue for each dimenasion.  Remove
+       the final call to deprecated_set_value_type.
+
+2011-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Make value allocations more lazy.
+       * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
+       instead of allocate_value and set_value_lazy when possible.
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy 
+       instead of allocate_value and set_value_lazy.
+       * findvar.c (value_of_register_lazy): Likewise.
+       (read_var_value): Remove V preallocation, call just check_typedef in
+       advance.  Move allocate_value to LOC_CONST, LOC_LABEL, 
+       LOC_CONST_BYTES.  Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
+       LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK.  Set ADDR instead of
+       set_value_address and break in LOC_BLOCK.  Use allocate_value_lazy and
+       remove lval_memory set in LOC_REGPARM_ADDR.  Use allocate_value_lazy
+       in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT.  Add setting lval_memory at
+       the end, remove set_value_lazy there.
+       * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
+       instead of allocate_value and set_value_lazy when possible.
+       * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
+       * value.c (allocate_computed_value): Use allocate_value_lazy instead
+       of allocate_value and set_value_lazy.
+       (value_from_contents_and_address): Use allocate_value_lazy instead of
+       allocate_value and set_value_lazy when possible.
+
+2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
+
+       * disasm.c (dump_insns): Support dumping opcodes for MI.
+       * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
+       dumping of instruction opcodes.
+
+2011-01-09  Robert Millan  <rmh@gnu.org>  (tiny patch)
+
+       * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
+       appropiately.
+
+2011-01-11  Tom Tromey  <tromey@redhat.com>
+
+       * thread.c (do_captured_thread_select): Emit newline before
+       printing frame.
+
+2011-01-11  Michael Snyder  <msnyder@vmware.com>
+
+       * s390-tdep.c: Comment cleanup, mostly periods and spaces.
+       * score-tdep.c: Ditto.
+       * score-tdep.h: Ditto.
+       * ser-base.c: Ditto.
+       * ser-go32.c: Ditto.
+       * serial.c: Ditto.
+       * serial.h: Ditto.
+       * ser-mingw.c: Ditto.
+       * ser-pipe.c: Ditto.
+       * ser-tcp.c: Ditto.
+       * ser-unix.c: Ditto.
+       * sh64-tdep.c: Ditto.
+       * shnbsd-nat.c: Ditto.
+       * sh-tdep.c: Ditto.
+       * sh-tdep.h: Ditto.
+       * solib.c: Ditto.
+       * solib-darwin.c: Ditto.
+       * solib-frv.c: Ditto.
+       * solib.h: Ditto.
+       * solib-irix.c: Ditto.
+       * solib-osf.c: Ditto.
+       * solib-pa64.c: Ditto.
+       * solib-som.c: Ditto.
+       * solib-spu.c: Ditto.
+       * solib-sunos.c: Ditto.
+       * solib-svr4.c: Ditto.
+       * solist.h: Ditto.
+       * sol-thread.c: Ditto.
+       * somread.c: Ditto.
+       * source.c: Ditto.
+       * source.h: Ditto.
+       * sparc64-linux-tdep.c: Ditto.
+       * sparc64-tdep.c: Ditto.
+       * sparc-linux-nat.c: Ditto.
+       * sparc-linux-tdep.c: Ditto.
+       * sparc-sol2-nat.c: Ditto.
+       * sparc-sol2-tdep.c: Ditto.
+       * sparc-tdep.c: Ditto.
+       * sparc-tdep.h: Ditto.
+       * spu-tdep.c: Ditto.
+       * stabsread.c: Ditto.
+       * stabsread.h: Ditto.
+       * stack.c: Ditto.
+       * symfile.c: Ditto.
+       * symfile.h: Ditto.
+       * symmisc.c: Ditto.
+       * symtab.c: Ditto.
+       * symtab.h: Ditto.
+       * target.c: Ditto.
+       * target-descriptions.c: Ditto.
+       * target-descriptions.h: Ditto.
+       * target.h: Ditto.
+       * target-memory.c: Ditto.
+       * terminal.h: Ditto.
+       * thread.c: Ditto.
+       * top.c: Ditto.
+       * tracepoint.c: Ditto.
+       * tracepoint.h: Ditto.
+       * trad-frame.h: Ditto.
+       * typeprint.c: Ditto.
+
+2011-01-11  Michael Snyder  <msnyder@vmware.com>
+
+       * ui-file.c: Comment cleanup, mostly periods and spaces.
+       * ui-file.h: Ditto.
+       * ui-out.c: Ditto.
+       * ui-out.h: Ditto.
+       * utils.c: Ditto.
+       * v850-tdep.c: Ditto.
+       * valarith.c: Ditto.
+       * valops.c: Ditto.
+       * valprint.c: Ditto.
+       * valprint.h: Ditto.
+       * value.c: Ditto.
+       * value.h: Ditto.
+       * varobj.c: Ditto.
+       * varobj.h: Ditto.
+       * vax-tdep.c: Ditto.
+       * vec.c: Ditto.
+       * vec.h: Ditto.
+       * version.h: Ditto.
+       * windows-nat.c: Ditto.
+       * windows-tdep.c: Ditto.
+       * xcoffread.c: Ditto.
+       * xcoffsolib.c: Ditto.
+       * xml-support.c: Ditto.
+       * xstormy16-tdep.c: Ditto.
+       * xtensa-tdep.c: Ditto.
+       * xtensa-tdep.h: Ditto.
+
+2011-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpoint.c (resources_needed_watchpoint): Fix indentation.
+       * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
+
+2011-01-11  Sergio Durigan Junior  <sergiodj@linux.vnet.ibm.com>
+           Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       Implement support for PowerPC BookE ranged watchpoints.
+       * breakpoint.h 
+       (struct breakpoint_ops) <resources_needed>: New method.
+       Initialize to NULL in all existing breakpoint_ops instances.
+       (struct breakpoint) <exact>: New field.
+       (target_exact_watchpoints): Declare external global.
+       * breakpoint.c (target_exact_watchpoints): New global flag.
+       (update_watchpoint): Set b->type to bp_hardware_watchpoint and
+       b->enable_state to bp_enabled before calling
+       hw_watchpoint_used_count.
+       (hw_watchpoint_used_count): Iterate over all bp_locations in a
+       watchpoint.  Call breakpoint's breakpoint_ops.resources_needed
+       if available.
+       (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
+       if the watchpoint is exact.
+       (resources_needed_watchpoint): New function.
+       (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
+       (watch_command_1): Set b->exact if the user asked for an exact
+       watchpoint and one can be set.
+       (can_use_hardware_watchpoint): Add exact_watchpoints argument.
+       Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
+       the user asks for an exact watchpoint and one can be set.  Return
+       number of needed debug registers to watch the expression.
+       * gdbtypes.c (is_scalar_type): New function, based on
+       valprint.c:scalar_type_p.
+       (is_scalar_type_recursive): New function.
+       * gdbtypes.h (is_scalar_type_recursive): Declare.
+       * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
+       handle regions when ranged watchpoints are available.
+       (create_watchpoint_request): New function.
+       (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
+       create_watchpoint_request.
+       * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
+       (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
+       `set powerpc' and `show powerpc' commands.
+       * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
+       Mention documentation comment in the target macro.
+       (target_region_ok_for_hw_watchpoint): Document return value.
+
+2011-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpoint.c (update_watchpoint): Decide on using a software or
+       hardware watchpoint after the bp_locations are created.
+
 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
        Convert hardware watchpoints to use breakpoint_ops.
This page took 0.029715 seconds and 4 git commands to generate.