Update copyright dates.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 4e92633f377f3ee63ba5e6321598774e61d12ae1..4e2d120a182ad4c465c076dc4625238865ed8273 100644 (file)
@@ -1,3 +1,297 @@
+2011-01-12  Tom Tromey  <tromey@redhat.com>
+
+       * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
+       messages.
+       * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
+       (mi_cmd_thread_list_ids): Likewise.
+       (mi_cmd_data_list_changed_registers): Likewise.
+       (mi_cmd_data_list_register_values): Likewise.
+       (mi_cmd_data_write_register_values): Likewise.
+       (mi_cmd_data_evaluate_expression): Likewise.
+       (mi_cmd_data_read_memory): Likewise.
+       (mi_cmd_data_read_memory_bytes): Likewise.
+       (mi_cmd_data_write_memory): Likewise.
+       (mi_cmd_enable_timings): Likewise.
+       * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
+       * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
+       (mi_cmd_var_delete): Likewise.
+       (mi_cmd_var_set_format): Likewise.
+       (mi_cmd_var_show_format): Likewise.
+       (mi_cmd_var_info_num_children): Likewise.
+       (mi_cmd_var_list_children): Likewise.
+       (mi_cmd_var_info_type): Likewise.
+       (mi_cmd_var_info_expression): Likewise.
+       (mi_cmd_var_show_attributes): Likewise.
+       (mi_cmd_var_assign): Likewise.
+       (mi_cmd_var_update): Likewise.
+       (mi_cmd_enable_pretty_printing): Likewise.
+       (mi_cmd_var_set_update_range): Likewise.
+       * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
+       messages.
+       (mi_cmd_target_file_put): Likewise.
+       (mi_cmd_target_file_delete): Likewise.
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
+       messages.
+       (mi_cmd_stack_info_depth): Likewise.
+       (mi_cmd_stack_list_locals): Likewise.
+       (mi_cmd_stack_list_args): Likewise.
+       (mi_cmd_stack_select_frame): Likewise.
+       (mi_cmd_stack_select_frame): Likewise.
+       (mi_cmd_stack_info_frame): Likewise.
+       * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
+       messages.
+       (mi_cmd_file_list_exec_source_files): Likewise.
+       * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
+       (mi_cmd_env_cd): Likewise.
+       (mi_cmd_env_path): Likewise.
+       (mi_cmd_env_dir): Likewise.
+       (mi_cmd_inferior_tty_show): Likewise.
+       * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
+       * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
+       (mi_cmd_break_watch): Likewise.
+
+2011-01-12  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
+       (ppc_linux_insert_hw_breakpoint): Likewise.
+       (ppc_linux_remove_hw_breakpoint): Likewise.
+       (ppc_linux_insert_watchpoint): Likewise.
+
+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.
+       * breakpoint.h (breakpoint_ops) <insert>: Rename to...
+       <insert_location>: ... this.  Return int instead of void.
+       Accept pointer to struct bp_location instead of pointer to
+       struct breakpoint.  Adapt all implementations.
+       (breakpoint_ops) <remove>: Rename to... 
+       <remove_location>: ... this.  Accept pointer to struct bp_location
+       instead of pointer to struct breakpoint.  Adapt all implementations.
+       * breakpoint.c (insert_catchpoint): Delete function.
+       (insert_bp_location): Call the watchpoint or catchpoint's
+       breakpoint_ops.insert method.
+       (remove_breakpoint_1): Call the watchpoint or catchpoint's
+       breakpoint_ops.remove method.
+       (insert_watchpoint, remove_watchpoint): New functions.
+       (watchpoint_breakpoint_ops): New structure.
+       (watch_command_1): Initialize the OPS field.
+       * inf-child.c (inf_child_insert_fork_catchpoint)
+       (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
+       (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
+       (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
+       Delete functions.
+       (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
+       to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
+       to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
+       to_remove_exec_catchpoint and to_set_syscall_catchpoint.
+       * target.c (update_current_target): Change default implementation of
+       to_insert_fork_catchpoint, to_remove_fork_catchpoint,
+       to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
+       to_insert_exec_catchpoint, to_remove_exec_catchpoint and
+       to_set_syscall_catchpoint to return_one.
+       (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
+       (debug_to_insert_exec_catchpoint): Report return value.
+       * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
+       (to_insert_exec_catchpoint): Change declaration to return int instead
+       of void.
+
 2011-01-11  Michael Snyder  <msnyder@vmware.com>
 
        * arm-tdep.c: Internationalization.
This page took 0.026277 seconds and 4 git commands to generate.