+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.
+
+2010-10-06 Doug Evans <dje@google.com>
+
+ * Makefile.in (REQUIRED_SUBDIRS): New var.
+ (subdir_do): Verify required subdir Makefiles exist.
+
+ Create subdir data-directory.
+ * Makefile.in (XML_SYSCALL_DIR, XML_SYSCALL_FILES): Moved to
+ data-directory/Makefile.in.
+ (SUBDIRS): Add data-directory.
+ (all): Remove xml-syscall-copy dependency.
+ (xml-syscall-copy): Moved to data-directory/Makefile.in as
+ stamp-syscalls.
+ (xml-syscall-install): Moved to data-directory/Makefile.in as
+ install-syscalls.
+ (install-only): Remove xml-syscall-install dependency.
+ (all-data-directory): New rule.
+ (data-directory/Makefile): New rule.
+ * configure.ac (AC_OUTPUT): Add data-directory/Makefile.
+ * configure: Regenerate.
+ * data-directory/Makefile.in: New file.
+ * python/lib/gdb/__init__.py: New file.
+
+2010-10-06 Joel Brobecker <brobecker@adacore.com>
+
+ Fix ARI warnings in advance_wild_match.
+ * ada-lang.c (advance_wild_match): Delete local variable t2.
+ Adjust code accordingly. Minor reformatting.
+
+2010-10-06 Ken Werner <ken.werner@de.ibm.com>
+
+ * gdbtypes.h (struct main_type): Remove flag_nottext.
+ (enum type_flag_value): Remove TYPE_FLAG_NOTTEXT.
+ (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_NOTTEXT.
+ (TYPE_NOTTEXT): Use TYPE_INSTANCE_FLAG_NOTTEXT instead of flag_nottext.
+ * gdbtypes.c (make_vector_type): Use TYPE_INSTANCE_FLAG_NOTTEXT instead
+ of TYPE_FLAG_NOTTEXT.
+ (init_type): Remove the initialization of the flag_nottext field.
+ (gdbtypes_post_init): Use TYPE_INSTANCE_FLAG_NOTTEXT instead of
+ TYPE_FLAG_NOTTEXT.
+ * c-valprint.c (c_val_print): Remove TYPE_VECTOR check.
+
2010-10-04 Doug Evans <dje@google.com>
* cc-with-index.sh: New file.