Create subdir data-directory.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7e7ceb317dacf7061d0e0385c3c0cba38fa4129b..3031dc4bc6681616e758c3a19041d4e0119f5082 100644 (file)
@@ -1,3 +1,149 @@
+2010-10-06  Doug Evans  <dje@google.com>
+
+       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.
This page took 0.024932 seconds and 4 git commands to generate.