+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>
+
+ * 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.
+
+ * dwarf2read.c (dw2_do_instantiate_symtab): Insert blank line after
+ function comment.
+ (dw2_instantiate_symtab, dw2_get_cu, extract_cu_value): Ditto.
+ (create_cus_from_index, create_addrmap_from_index): Ditto.
+ (mapped_index_string_hash, find_slot_in_mapped_hash): Ditto.
+ (dw2_setup, dw2_require_line_header, dw2_require_full_path): Ditto.
+ (dw2_do_expand_symtabs_matching): Ditto.
+ (eq_strtab_entry, create_strtab, add_string): Ditto.
+ (hash_strtab_entry): Ditto.
+ (hash_symtab_entry, eq_symtab_entry, delete_symtab_entry): Ditto.
+ (create_index_table, create_mapped_symtab, find_slot): Ditto.
+ (hash_expand, add_index_entry, add_indices_to_cpool): Ditto.
+ (write_hash_table, add_address_entry, write_psymbols): Ditto.
+ (write_obstack, unlink_if_set, write_one_signatured_type): Ditto.
+ (write_psymtabs_to_index): Ditto.
+
+2010-10-04 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c: #include "value.h".
+ (ensure_lval): Delete advance declaration. Remove gdbarch and sp
+ arguments. Implement using value_allocate_space_in_inferior
+ instead of allocating memory from the stack.
+ (make_array_descriptor): Remove gdbarch and sp parameters. Update
+ calls to ensure_lval.
+ (ada_convert_actual): Remove gdbarch and sp parameters. Update
+ calls to make_array_descriptor and ensure_lval.
+ * ada-lang.h (ada_convert_actual): Update declaration.
+ * infcall.c (value_arg_coerce): Update call to ada_convert_actual.
+
+2010-10-04 Doug Evans <dje@google.com>
+
+ * python/python.c (_initialize_python): Define new function
+ GdbSetPythonDirectory in python. Use it to update sys.path and
+ gdb.__path__.
+
+2010-10-03 Paul Hilfinger <hilfinger@adacore.com>
+
+ * gdb/ada-typeprint.c (print_selected_record_field_types): New function,
+ incorporating and generalizing print_record_field_types.
+ (print_record_field_types): Change return value and update comment.
+ Re-implement using print_selected_record_field_types.
+ (print_choices): Print "=>" here.
+ Handle case of unencoded variant branch.
+ (print_variant_clauses): Reformat comment.
+ Special-case unencoded variant branch.
+
+2010-10-03 Paul Hilfinger <hilfinger@adacore.com>
+
+ * ada-lang.c (wild_match): Reimplement.
+ Change API to eliminate unused length argument, reverse arguments and
+ make 0 the 'true' return value.
+ (advance_wild_match): New auxiliary function for wild_match to improve
+ readability.
+ (ada_match_name, ada_add_block_symbols): Use new API for wild_match.
+ * psymtab.c (ada_lookup_partial_symbol, map_ada_symtabs): Use new
+ API for wild_match.
+ * symfile.h (map_ada_symtabs): Modify declaration to use new API for
+ wild_match.
+ * dwarf2read.c (dw2_map_ada_symtabs): Ditto.
+
+2010-10-01 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (_initialize_dwarf2_read): Add usage info to help text
+ for `save gdb-index' command.
+
+2010-10-01 Tom Tromey <tromey@redhat.com>
+
+ * symfile.h (allocate_symtab): Update.
+ * symfile.c (allocate_symtab): Make 'filename' const.
+ * psymtab.c (add_psymbol_to_bcache): Make 'name' const.
+ (add_psymbol_to_list): Likewise.
+ * psympriv.h (struct partial_symtab) <filename, dirname>: Now
+ const.
+ (add_psymbol_to_list): Update.
+ * mdebugread.c (new_symtab): Make 'name' const.
+ (psymtab_to_symtab_1): Make 'filename' const.
+ * elfread.c (elfstab_offset_sections): Update.
+ * dwarf2read.c (dwarf_decode_lines): Make 'comp_dir' const.
+ (dwarf2_start_subfile): Make 'dirname' and 'comp_dir' const.
+ (psymtab_include_file_name): Update.
+ * dbxread.c (find_stab_function_addr): Make 'filename' const.
+ * buildsym.h (start_subfile): Update.
+ * buildsym.c (start_subfile): Make arguments const.
+
+2010-09-30 Ali Lakhia <lakhia@alumni.utexas.net>
+
+ * fork-child.c (breakup_args): Fix crash if shell forking is
+ disabled at compile time.
+
+2010-10-01 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (desc_bounds): Add handling of the case where
+ the P_BOUNDS field is a pointer to a stub.
+ (desc_data_target_type): Same for P_ARRAY field.
+ (ada_check_typedef): Strip the typedef layers from the type
+ found by ada_find_any_type.
+
+2010-10-01 Joel Brobecker <brobecker@adacore.com>
+
+ * sparc-tdep.c (sparc32_frame_align): New function.
+ (sparc32_gdbarch_init): Set the frame_align gdbarch method.
+ * sparc64-tdep.c (sparc64_frame_align): New function.
+ (sparc64_gdbarch_init): Set the frame_align gdbarch method.
+
+2010-09-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * defs.h (MAX_REGISTER_SIZE): Set to 64.
+
2010-09-30 Tom Tromey <tromey@redhat.com>
* symfile.h (struct sym_fns) <next>: Remove.