Fixed void* vs int* overload issue (PR C++/10343).
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d3800205764bb973bf07d7606b1545302d3aaf14..f66c343b159b4b4a86224555a356c9c71f4131bc 100644 (file)
@@ -1,3 +1,213 @@
+2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdbtypes.h: Create BASE_PTR_CONVERSION_BADNESS.
+       * gdbtypes.c (rank_one_type): Move type comparison code out of here
+       to...
+       (types_equal): ...here. And changed it as follows:
+       Outside of typedefs type must be of the same TYPE_CODE.
+       When compairing two pointers or references they are equal if their
+       targets are equal.
+       Correct pointer conversions.
+
+2010-10-14  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * p-lang.c (is_pascal_string_type): Avoid crashes on structures
+       having fields without names.
+
+2010-10-13  Tom Tromey  <tromey@redhat.com>
+
+       * language.h (LA_PRINT_ARRAY_INDEX): Fix argument name.
+
+2010-10-13  Doug Evans  <dje@google.com>
+
+       New python module gdb.types.
+       * NEWS: Document it.
+       * data-directory/Makefile.in (PYTHON_FILES): Add gdb/types.py.
+       * python/lib/gdb/types.py: New file.
+
+       * c-typeprint.c: Whitespace cleanup.
+       (cp_type_print_method_args): Remove unnecessary forward decl.
+       (cp_type_print_derivation_info): Ditto.
+       (c_type_print_varspec_prefix): Mark as static at definition.
+       (c_type_print_modifier): Fix arg descriptions.
+
+2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * python/py-breakpoint.c (bppy_set_condition): New comment.
+       * python/py-cmd.c (cmdpy_function): Call also gdbpy_print_stack for
+       failed PyUnicode_Decode.
+       (cmdpy_completer): Skip element for failed
+       python_string_to_host_string.
+       (cmdpy_init): Return -1 on failed python_string_to_host_string.
+       * python/py-frame.c (frapy_read_var): Extend the function comment.
+       * python/py-function.c (fnpy_init): Return -1 on failed
+       python_string_to_host_string.
+       * python/py-inferior.c (infpy_read_memory, infpy_write_memory): Extend
+       the function comment.
+       (infpy_search_memory): Extend the function comment.  Remove the
+       PyErr_SetString call on already set error state.
+       * python/py-param.c (set_parameter_value): Extend the function
+       comment.  Return -1 on failed python_string_to_host_string, twice.
+       (set_attr): Extend the function comment.
+       (compute_enum_values): Extend the function comment.  New variable
+       back_to.  Protect self->enumeration by BACK_TO cleanups.  Return 0 on
+       failed python_string_to_host_string.
+       (get_doc_string): Call gdbpy_print_stack on failed
+       python_string_to_host_string.
+       (parmpy_init): Extend the function comment.
+       * python/py-prettyprint.c (pretty_print_one_value): Likewise.
+       (gdbpy_get_display_hint, print_children): Call gdbpy_print_stack on
+       failed python_string_to_host_string.
+       * python/py-value.c (valpy_new, valpy_getitem, valpy_call)
+       (valpy_binop, valpy_richcompare): Extend the function comment.
+       * python/python.c
+       (struct python_env) <error_type, error_value, error_traceback>: New
+       fields.
+       (restore_python_env): Handle PyErr_Occurred.  Call PyErr_Restore.
+       (ensure_python_env): Call PyErr_Fetch.
+       * varobj.c (update_dynamic_varobj_children): Call gdbpy_print_stack on
+       failed convert_value_from_python.
+       (value_get_print_value): Call gdbpy_print_stack on failed
+       python_string_to_target_python_string.
+
+2010-10-12  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-prettyprint.c (search_pp_list): Fix error checking.
+
+2010-10-12  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdbtypes.c (do_is_ancestor): New function.
+       (is_ancestor): Use do_is_ancestor.
+       (is_public_ancestor): Use do_is_ancestor.
+
+2010-10-12  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * ser-go32.c (struct dos_ops): Add missing fdopen field.
+
+2010-10-12  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm-tdep.c (arm_mode_strings): Add NULL entry at end of array.
+
+2010-10-11  Doug Evans  <dje@google.com>
+
+       * c-typeprint.c (c_type_print_modifier): Add note that this prints
+       the address space id too.
+
+2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix attaching to re-prelinked executables on ppc64.
+       * solib-svr4.c (svr4_exec_displacement): New variable plt2_asect,
+       initialize it, try to adjust FILESZ field by it.
+
+2010-10-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * tracepoint.c (merge_uploaded_trace_state_variables): Only print
+       messages if info_verbose.
+
+2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
+
+       * valops.c (value_cast): Handle vector types.
+       * valarith.c (value_binop): Widen scalar to vector if appropriate.
+
+2010-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * arm-tdep.c (thumb_expand_immediate): New function.
+       (thumb_instruction_changes_pc): Likewise.
+       (thumb2_instruction_changes_pc): Likewise.
+       (thumb_analyze_prologue): Handle 32-bit Thumb instructions during
+       prologue parsing.  Improved support for optimized code.
+       (thumb_scan_prologue): Do not reply on line-number information,
+       use same heuristics as arm_scan_prologue insead.
+       (skip_prologue_function): Accept functions
+       "__tls_get_addr" and "__aeabi_read_tp".
+
+2010-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
+            Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm-tdep.c (thumb_in_function_epilogue_p)
+       (arm_in_function_epilogue_p): New.
+       (arm_gdbarch_init): Install arm_in_function_epilogue_p as
+       gdbarch_in_function_epilogue_p callback.
+
+2010-10-07  Doug Evans  <dje@google.com>
+
+       * cc-with-index.sh (output_file): Default to a.out.
+
+       * dwarf2read.c (mapped_index): Rename member index_table to
+       symbol_table and index_table_slots to symbol_table_slots.
+       All uses updated.
+       (create_symbol_hash_table): Renamed from create_index_table.
+       All callers updated.
+       (add_indices_to_cpool): Rename arg index_table to symbol_hash_table.
+       (write_hash_table): Rename local index_table to symbol_hash_table.
+
+       * addrmap.h (addrmap_foreach_fn): New typedef.
+       (addrmap_foreach): Declare.
+       * addrmap.c (struct addrmap_funcs): New member foreach.
+       (addrmap_foreach): New function.
+       (addrmap_fixed_foreach): New function.
+       (addrmap_fixed_funcs): Update.
+       (struct mutable_foreach_data): New struct.
+       (addrmap_mutable_foreach_worker): New function.
+       (addrmap_mutable_foreach): New function.
+       (addrmap_mutable_funcs): Update.
+
+2010-10-07  Paul Hilfinger  <hilfinger@adacore.com>
+
+       * dictionary.c (dict_hash): Revert to msymbol_hash_iw in
+       more cases.
+
+2010-10-07  Paul Hilfinger  <hilfinger@adacore.com>
+
+        * ada-lang.c (full_match): Declare.
+        (ada_match_name): Rename to match_name (we should avoid prefixing static
+        symbols with "ada_").
+        (match_name): New name for ada_match_name.
+        (struct ada_psym_data): Remove and replace with...
+        (struct match_data): User data for map_matching_symbols.
+        (ada_add_psyms): Remove.
+        (aux_add_nonlocal_symbols): New function, used as callback for
+        map_matching_symbols.
+        (compare_names): Ordering function adopted from strcmp_iw for Ada-encoded
+        symbols.
+        (ada_add_non_local_symbols): Rename to add_nonlocal_symbols.
+        (add_nonlocal_symbols): Renamed from ada_add_non_local_symbols.
+        Rework to use map_matching_symbols instead of map_ada_symtabs.
+        (ada_lookup_symbol_list): Use add_nonlocal_symbols.
+        * psymtab.c: Include dependency on dictionary.h.
+        (match_partial_symbol): New function.
+        (ada_lookup_partial_symbol): Remove.
+        (map_block): New function, auxiliary to map_matching_symbols_psymtab.
+        (map_matching_symbols_psymtab): New function.
+        (psym_functions): Replace map_ada_symtabs with map_matching_symbols_psymtab.
+        * symfile.h: Replace map_ada_symtabs definition with map_matching_symbols.
+
+2010-10-06  Paul Hilfinger  <hilfinger@adacore.com>
+
+       * ada-lang.c (ada_match_name): Use new API for wild_match.
+       (wild_match): Change API to be consistent with that of strcmp_iw;
+       return 0 for a match, and switch operand order.
+       (full_match): New function.
+       (ada_add_block_symbols): Use dict_iter_match_{first,next} for
+       matching to allow use of hashing.
+       * dictionary.c (struct dict_vector): Generalize iter_name_first,
+       iter_name_next ot iter_match_first, iter_match_next.
+       (iter_name_first_hashed): Replace with iter_match_first_hashed.
+       (iter_name_next_hashed): Replace with iter_match_next_hashed.
+       (iter_name_first_linear): Replace with iter_match_first_linear.
+       (iter_name_next_linear): Replace with iter_match_next_linear.
+       (dict_iter_name_first): Re-implement to use dict_iter_match_first.
+       (dict_iter_name_next): Re-implement to use dict_iter_match_next.
+       (dict_iter_match_first): New function.
+       (dict_iter_match_next): New function.
+       (dict_hash): New function.
+       * dictionary.h (dict_iter_match_first, dict_iter_match_next): Declare.
+       * psymtab.c (ada_lookup_partial_symbol): Use new wild_match API.
+
+2010-10-06  Doug Evans  <dje@google.com>
+
+       * data-directory/Makefile.in: Remove @host_makefile_frag@, @frags@.
+
 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
 
        * dwarf2read.c (read_tag_const_type): Handle const arrays.
This page took 0.027878 seconds and 4 git commands to generate.