2012-05-14 Siva Chandra Reddy <sivachandra@google.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 31cf97ba77f9f8e4b463760f5e57f2e8cc30c770..67703bebd4b2fcfd2eee7c9abb408d57d438cc96 100644 (file)
@@ -1,3 +1,184 @@
+2012-05-14  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of
+       unsigned long long.
+
+2012-05-13  Siva Chandra Reddy  <sivachandra@google.com>
+
+       Add a new function gdb.find_pc_line to the Python API.
+       * NEWS (Python Scripting): Add entry about the new function.
+       * python/python.c (gdbpy_find_pc_line): New function which
+       implements gdb.find_pc_line.
+       (GdbMethods): Add entry for the new function.
+
+2012-05-12  Pedro Alves  <palves@redhat.com>
+
+       * amd64-linux-tdep.c (_initialize_amd64_linux_tdep): Call
+       initialize_tdesc_x32_linux and initialize_tdesc_x32_avx_linux.
+
+2012-05-12  Eli Zaretskii  <eliz@gnu.org>
+
+       * inferior.c: Include completer.h
+       (initialize_inferiors): Set completer of add-inferior to
+       filename_completer.
+
+2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-linux-tdep.c (amd64_linux_core_read_description): Check
+       gdbarch_ptr_bit for x32 core dump.
+
+2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-linux-tdep.c: Include features/i386/x32-linux.c
+       and features/i386/x32-avx-linux.c.
+
+2012-05-11  Stan Shebs  <stan@codesourcery.com>
+           Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * NEWS: Describe new info os commands.
+       * common/linux-osdata.c (PID_T, TIME_T): Define.
+       (MAX_PID_T_STRLEN): New.
+       (linux_common_core_of_thread): Add comment.  Change to use PID_T and
+       MAX_PID_T_STRLEN.
+       (command_from_pid): Add comment.  Change to use PID_T.
+       (commandline_from_pid):  Change to use PID_T.
+       (user_from_pid): Add comment.
+       (get_process_owner): Add comment. Change to use PID_T and
+       MAX_PID_T_STRLEN.
+       (get_number_of_cpu_cores): Add comment.
+       (get_cores_used_by_process): Add comment.  Change to use PID_T and
+       MAX_PID_T_STRLEN.
+       (linux_xfer_osdata_processes): Change to use PID_T and
+       MAX_PID_T_STRLEN.
+       (compare_processes): New function.
+       (linux_xfer_osdata_processgroups): New function.
+       (linux_xfer_osdata_threads): Change to use PID_T.
+       (linux_xfer_osdata_fds): New function.
+       (format_socket_state, print_sockets): New functions.
+       (union socket_addr): New union.
+       (linux_xfer_osdata_isockets): New function.
+       (time_from_time_t, group_from_gid): New functions.
+       (linux_xfer_osdata_shm): New function.
+       (linux_xfer_osdata_sem): New function.
+       (linux_xfer_osdata_msg): New function.
+       (linux_xfer_osdata_modules): New function.
+       (osdata_table): Add new entries.
+       * common/buffer.c (buffer_xml_printf): Add support for long and
+       long long format specifiers.
+
+2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-linux-tdep.h (tdesc_x32_linux): New.
+       (tdesc_x32_avx_linux): Likewise.
+
+2012-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Implement multi-component --with-auto-load-dir.
+       * NEWS (set auto-load scripts-directory, --with-auto-load-dir): New
+       entries.
+       (--with-auto-load-safe-path): Update the default value description.
+       * auto-load.c (auto_load_dir, set_auto_load_dir, show_auto_load_dir):
+       New.
+       (auto_load_objfile_script): Add DEBUG_AUTO_LOAD output.  Remove
+       GDB_DATADIR NULL check.  Replace GDB_DATADIR/auto-load by
+       AUTO_LOAD_DIR.  Support $ddir and multiple components in it.
+       (_initialize_auto_load): Initialize also auto_load_dir.  Install new
+       "set auto-load scripts-directory".
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * configure.ac (--with-auto-load-dir): New configure option.
+       (--auto-load-safe-path): Change the default to --with-auto-load-dir.
+
+2012-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Provide $ddir substitution for --with-auto-load-safe-path.
+       * NEWS (--with-auto-load-safe-path, --without-auto-load-safe-path): New
+       entries.
+       * auto-load.c: Include observer.h.
+       (auto_load_safe_path_vec_update): Call substitute_path_component for
+       each component.  New variable ddir_subst.
+       (auto_load_gdb_datadir_changed): New function.
+       (set_auto_load_safe_path): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to
+       AUTO_LOAD_SAFE_PATH.  New comment.
+       (_initialize_auto_load): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to
+       AUTO_LOAD_SAFE_PATH.  Install auto_load_gdb_datadir_changed.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * configure.ac (--auto-load-safe-path): Rename
+       DEFAULT_AUTO_LOAD_SAFE_PATH to AUTO_LOAD_SAFE_PATH.  Default to
+       GDB_DATADIR/auto-load.
+       * defs.h (substitute_path_component): New declaration.
+       * top.c: Include observer.h.
+       (set_gdb_datadir): New function.
+       (init_main): Install it for "set data-directory".
+       * utils.c (substitute_path_component): New function.
+
+2012-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Make auto-load handle multiple components of DEBUG_FILE_DIRECTORY.
+       * auto-load.c (auto_load_objfile_script): Remove check for NULL
+       DEBUG_FILE_DIRECTORY.  Handle multiple components of
+       DEBUG_FILE_DIRECTORY.
+
+2012-05-10  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (recursively_write_psymbols): New function.
+       (write_psymtabs_to_index): Use it.
+
+       * dwarf2read.c (struct dwarf2_queue_item) <pretend_language>: New
+       field.
+       (load_cu, dw2_do_instantiate_symtab, process_psymtab_comp_unit)
+       (load_partial_comp_unit): Update.
+       (queue_comp_unit): Add argument 'pretend_language'.
+       (process_queue): Update.
+       (psymtab_to_symtab_1): Skip dependencies that have a user.
+       (load_partial_comp_unit_reader): Give meaning to the 'data'
+       argument.
+       (load_full_comp_unit): Add 'pretend_language' argument.
+       (process_full_comp_unit): Add 'pretend_language' argument.  Set
+       language on CU.
+       (process_imported_unit_die, read_file_scope, read_type_unit_scope):
+       Update.
+       (maybe_queue_comp_unit): Add 'pretend_language' argument.
+       (follow_die_offset, follow_die_sig, read_signatured_type_reader):
+       Update.
+       (prepare_one_comp_unit): Add 'pretend_language' argument.
+
+       * dwarf2read.c: (dwarf2_per_cu_ptr): New typedef.
+       (struct dwarf2_per_objfile) <just_read_cus>: New field.
+       (struct dwarf2_per_cu_data) <imported_symtabs>: New field.
+       (dw2_do_instantiate_symtab): Check whether symtab was read in
+       before queueing.
+       (dw2_instantiate_symtab): Add assertion.  Call
+       process_cu_includes.
+       (process_psymtab_comp_unit): Compute 'dependencies' for psymtab.
+       (partial_symtab_p): New typedef.
+       (set_partial_user): New function.
+       (dwarf2_build_psymtabs_hard): Use set_partial_user.
+       (scan_partial_symbols): Add imported CU to imported_symtabs.
+       (dwarf2_psymtab_to_symtab): Call process_cu_includes.
+       (psymtab_to_symtab_1): Do nothing if psymtab is readin.
+       (get_symtab, recursively_compute_inclusions)
+       (compute_symtab_includes, process_cu_includes)
+       (process_imported_unit_die): New functions.
+       (process_die) <DW_TAG_imported_unit>: New case.
+       (dwarf2_per_objfile_free): Free 'imported_symtabs'.
+
+       * dwarf2read.c (struct dwarf2_per_cu_data) <psymtab>: Update
+       comment.
+       (struct partial_die_info) <locdesc>: Remove.
+       <d>: New field.
+       (process_psymtab_comp_unit): Add 'read_partial' argument.
+       Update.
+       (process_type_comp_unit, dwarf2_build_psymtabs_hard): Update.
+       (scan_partial_symbols): Handle DW_TAG_imported_unit.
+       (add_partial_symbol): Update.
+       (process_die): Handle DW_TAG_partial_unit.
+       (read_file_scope): Update comment.
+       (load_partial_dies): Handle DW_TAG_imported_unit.
+       (read_partial_die): Handle DW_TAG_partial_unit, DW_AT_import.
+       (determine_prefix, dwarf2_name): Handle DW_TAG_partial_unit.
+
 2012-05-10  Tom Tromey  <tromey@redhat.com>
 
        * cc-with-dwz.sh: New file.
This page took 0.027594 seconds and 4 git commands to generate.