gdb/
[binutils-gdb.git] / gdb / ChangeLog
index 1df82061cc666141301de0cf0d3b556f1c98079d..4659b27031bce6cb4514f1e2d4a70340bc0706c3 100644 (file)
@@ -1,3 +1,209 @@
+2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * breakpoint.c (breakpoint_restore_shadows): New OWNER comment.
+       (should_be_inserted): Return zero also on NULL OWNER.
+       (breakpoint_program_space_exit): New OWNER comment.
+       (insert_breakpoint_locations): Extend comment for OWNER.
+       (remove_breakpoint_1, remove_breakpoint): Assert on OWNER.
+       (breakpoint_init_inferior, breakpoint_here_p, breakpoint_thread_match):
+       New OWNER comment.
+       (print_it_typical): Return PRINT_UNKNOWN on NULL OWNER.
+       (watchpoint_check): New assert on BREAKPOINT_AT and OWNER.
+       (bpstat_check_location): New assert on OWNER.
+       (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions): Move BL
+       and B initializations to the code block.  New assert on them.
+       (print_one_breakpoint_location): New OWNER comment.
+       (watchpoint_locations_match): Assert on OWNER.
+       (breakpoint_locations_match): Move HW_POINT1 and HW_POINT2
+       initializations to the code block.  New assert on OWNER.
+       (set_breakpoint_location_function): New assert on OWNER.
+       (disable_breakpoints_in_shlibs, disable_breakpoints_in_unloaded_shlib)
+       (bp_location_compare, update_global_location_list)
+       (update_global_location_list): New OWNER comment.
+
+2010-06-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-linux.h
+
+2010-06-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/nm-linux.h (struct target_ops): Remove forward declaration.
+       (lin_thread_get_thread_signals): Remove prototype.
+       (GET_THREAD_SIGNALS): Remove.
+       * linux-nat.h (lin_thread_get_thread_signals): Add prototype.
+       * linux-thread-db.c (check_thread_signals): Directly call
+       lin_thread_get_thread_signals; do not check GET_THREAD_SIGNALS.
+
+2010-06-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gregset.h (GDB_FPXREGSET_T): Remove.
+       (gdb_fpxregset_t): Likewise.
+       (supply_fpxregset): Remove prototype.
+       (fill_fpxregset): Likewise.
+       * i386-linux-nat.c (supply_fpxregset): Remove.
+       (fill_fpxregset): Likewise.
+       (fetch_fpxregs): Inline supply_fpxregset call.
+       (store_fpxregs): Inline fill_fpxregset call.
+
+       * config/i386/linux.mh: Set NAT_FILE to config/nm-linux.h.
+       * config/i386/nm-linux.h: Remove file.
+
+2010-06-09  Michael Snyder  <msnyder@vmware.com>
+
+       * target.c (update_current_target): Fix spelling error in comment.
+       (target_mourn_inferior): Fix spelling error in error message.
+
+2010-06-08  Paul Hilfinger  <hilfingr@adacore.com>
+
+      * dictionary.h (dict_iter_name_first, dict_iter_name_next): Refer to
+      SYMBOL_SEARCH_NAME, not SYMBOL_BEST_NAME, in comments.
+
+2010-06-08  Michael Snyder  <msnyder@vmware.com>
+
+       * remote.c (remote_close): Set inferior_ptid to null_ptid.
+
+2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * configure.ac <"${have_libpython}" != no>: New workaround of
+       python#4434.
+       * configure: Regenerate.
+
+2010-06-08  Hui Zhu  <teawater@gmail.com>
+
+       * record.c (record_wait): Move signal out of replay code.
+
+2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix PR 10640.
+       * dwarf2-frame.c (no_dwarf_call): New function.
+       (execute_stack_op): Set CTX->DWARF_CALL.
+       * dwarf2expr.c (execute_stack_op) <DW_OP_call2, DW_OP_call4>: New.
+       * dwarf2expr.h (struct dwarf_expr_context) <dwarf_call>: New.
+       (struct dwarf_expr_context) <get_subr>: Remove the #if0-ed field.
+       * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call): New functions.
+       (dwarf2_evaluate_loc_desc): Initialize CTX->DWARF_CALL.
+       (needs_frame_dwarf_call): New function.
+       (dwarf2_loc_desc_needs_frame): Initialize CTX->DWARF_CALL.
+       * dwarf2read.c (follow_die_offset): Based on former follow_die_ref.
+       Update the comment.  Move variables die, offset and error call to ...
+       (follow_die_ref): ... a new function.
+       (dwarf2_fetch_die_location_block): New function.
+       * dwarf2loc.h (dwarf2_fetch_die_location_block): New prototype.
+
+2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2loc.c (struct dwarf_expr_baton) Replace objfile by per_cu.
+       (dwarf_expr_tls_address): Use per_cu instead of objfile.
+       (dwarf2_evaluate_loc_desc): Drop initialization of BATON.OBJFILE.
+       Initialize new BATON.PER_CU.  Adjust CTX->GDBARCH initialization for
+       this change.
+       (struct needs_frame_baton): New field per_cu.
+       (dwarf2_loc_desc_needs_frame): Initialize new BATON.PER_CU.
+       * dwarf2read.c (struct dwarf2_per_cu_data) <cu>: Extend the comment.
+
+2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * cp-support.c (make_symbol_overload_list_namespace): Only search
+       static and global blocks.
+       (make_symbol_overload_list_block): New function.
+       (make_symbol_overload_list): Separate namespace search from block
+       search.
+       (make_symbol_overload_list_qualified): Use
+       make_symbol_overload_list_block.
+
+2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * value.h: Created oload_search_type enum.
+       (find_overload_match): Use oload_search_type enum.
+       * valops.c (find_overload_match): Support combined member and
+       non-member search.
+       * eval.c (evaluate_subexp_standard): Calls to
+       find_overload_match now use oload_search_type enum.
+       (oload_method_static): Verify index is a proper value.
+       * valarith.c (value_user_defined_cpp_op): Search for and handle
+       both member and non-member operators.
+       (value_user_defined_cpp_op): New function.
+       (value_user_defined_op): New function.
+       (value_x_unop): Use value_user_defined_op.
+       (value_x_binop): Ditto.
+       * cp-support.c (make_symbol_overload_list_using): Added block
+       iteration.
+       Add check for namespace aliases and imported declarations.
+
+2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * breakpoint.h (owner): Extend the comment.
+
+2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Clear stale specific bp_location from former whole breakpoint.
+       * breakpoint.c (delete_breakpoint): Move the stale referencing clear
+       code ...
+       (free_bp_location): ... here.  Rename there the called function to
+       bpstat_remove_bp_location_callback.
+       (bpstat_remove_breakpoint_callback): Rename to ...
+       (bpstat_remove_bp_location_callback): ... here, change DATA resolution
+       to struct bp_location.  Change the called function to
+       bpstat_remove_bp_location.  Create new declaration for the function.
+       (bpstat_remove_breakpoint): Rename to ...
+       (bpstat_remove_bp_location): ..., change the parameter to loc, adjust
+       code for the new parameter type.
+
+2010-06-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * README: Make version-agnostic.
+
+2010-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix duplicate types for single DIE.
+       * dwarf2read.c (read_structure_type): Move set_descriptive_type after
+       set_die_type.
+       (read_array_type): Remove type initialization.  Recheck get_die_type
+       after initial die_type.  Move set_die_type before set_descriptive_type.
+       (read_set_type): New variable domain_type.  Recheck get_die_type after
+       initial die_type.  Move attr initialization later.
+       (read_tag_pointer_type, read_tag_reference_type): New variable
+       target_type.  Recheck get_die_type after initial die_type.
+       (read_tag_ptr_to_member_type): Recheck get_die_type after initial
+       die_type and die_containing_type.
+       (read_tag_const_type, read_tag_volatile_type, read_subroutine_type):
+       Recheck get_die_type after initial die_type.
+       (read_subrange_type): Recheck get_die_type after initial die_type.
+       Move set_die_type before set_descriptive_type.
+       (set_die_type): Extend the function comment.  Call complaint if DIE has
+       some type already set.
+
+2010-06-05  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * mi/mi-main.c (mi_cmd_list_thread_groups): Adjust
+       for current naming of thread groups (iN, not N).
+
+2010-06-04  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * ada-lang.c (ada_operator_length): Constify `struct expression'.
+       * parse.c (operator_length): Likewise.
+       (operator_length_standard): Likewise.
+       * parser-defs.h (operator_length): Likewise.
+       (operator_length_standard): Likewise.
+       (struct exp_descriptor <operator_length>): Likewise.
+
+2010-06-04  Doug Evans  <dje@google.com>
+
+       Add support for enabling/disabling individual pretty-printers.
+       * python/py-prettyprint.c (search_pp_list): Skip disabled printers.
+       * python/python-internal.h (gdbpy_enabled_cst): Declare.
+       * python/python.c (gdbpy_enabled_cst): Define.
+       (_initialize_python): Initialize gdbpy_enabled_cst.
+       * NEWS: Add entry.
+
+2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * breakpoint.c (update_global_location_list): Fix comment typo.
+
+2010-06-04  Hui Zhu  <teawater@gmail.com>
+
+       * dwarf2loc.c (disassemble_dwarf_expression): Change ul to l.
+
 2010-06-03  Doug Evans  <dje@google.com>
 
        * configure.ac: Don't fail if python is unusable when