move the demangled_names_hash into the per-BFD
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f85dc904cad6bc3a19a2c299fcb23227d1d9f0b6..a0c0b97cbe40f9e9b256b7f60f2eda8692942804 100644 (file)
@@ -1,3 +1,204 @@
+2013-10-07  Tom Tromey  <tromey@redhat.com>
+
+       * objfiles.c (free_objfile_per_bfd_storage): Delete the
+       demangled_names_hash.
+       (free_objfile): Don't delete the demangled_names_hash.
+       * objfiles.h (struct objfile_per_bfd_storage)
+       <demangled_names_hash>: New field.
+       (struct objfile) <demangled_names_hash>: Move to
+       objfile_per_bfd_storage.
+       * symfile.c (reread_symbols): Don't delete the
+       demangled_names_hash.
+       * symtab.c (create_demangled_names_hash): Update.
+       (symbol_set_names): Update.
+
+2013-10-07  Tom Tromey  <tromey@redhat.com>
+
+       * gdb_bfd.c (struct gdb_bfd_data) <relocation_computed,
+       needs_relocations>: New fields.
+       (gdb_bfd_requires_relocations): New function.
+       * gdb_bfd.h (gdb_bfd_requires_relocations): Declare.
+       * objfiles.c (get_objfile_bfd_data): Disallow sharing if
+       the BFD needs relocations applied.
+
+2013-10-07  Pedro Alves  <palves@redhat.com>
+
+       PR breakpoints/11568
+       * breakpoint.c (remove_threaded_breakpoints): Say "no longer in
+       the thread list" instead of "gone".
+
+2013-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * NEWS: Mention new convenience variable $_exitsignal.
+       * corelow.c (core_open): Reset exit convenience variables.  Set
+       $_exitsignal to the uncaught signal which generated the corefile.
+       * infrun.c (handle_inferior_event): Reset exit convenience
+       variables.  Set $_exitsignal for TARGET_WAITKIND_SIGNALLED.
+       (clear_exit_convenience_vars): New function.
+       * inferior.h (clear_exit_convenience_vars): New prototype.
+
+2013-10-06  Yao Qi  <yao@codesourcery.com>
+
+       * varobj.h: Add comments to enum varobj_languages.
+
+2013-10-04  Doug Evans  <dje@google.com>
+
+       Add support for DWP file format version 2.
+       * NEWS: Mention support for DWP file format version 2.
+       * dwarf2read.c (dwarf2_section_info): Convert asection field to a
+       union of asection, containing_section.  New fields virtual_offset
+       and is_virtual.  Change type of readin filed from int to char.
+       (dwo_sections, dwo_file): Tweak comments.
+       (dwp_v2_section_ids): New enum.
+       (dwp_sections): New fields abbrev, info, line, loc, macinfo, macro,
+       str_offsets, types.
+       (virtual_v1_dwo_sections): Renamed from virtual_dwo_sections.
+       All uses updated.
+       (virtual_v2_dwo_sections): New struct.
+       (dwp_hash_table): New fields version, nr_columns.  Change type of
+       section_pool field to a union.
+       (dwp_file): New field version.
+       (dwarf2_has_info): Check for virtual sections.
+       (get_containing_section): New function.
+       (get_section_bfd_owner, get_section_bfd_section): Call it.
+       (dwarf2_locate_sections): Update.
+       (dwarf2_section_empty_p): Update.
+       (dwarf2_read_section): Handle virtual sections.
+       (locate_dwz_sections): Update.
+       (create_dwp_hash_table): Document and handle V2 format.
+       (locate_v1_virtual_dwo_sections): Renamed from
+       locate_virtual_dwo_sections and update.  All callers updated.
+       (create_dwo_unit_in_dwp_v1): Renamed from create_dwo_in_dwp.
+       Delete arg htab.  Rename arg section_index to unit_index.
+       All callers updated.
+       (MAX_NR_V1_DWO_SECTIONS): Renamed from MAX_NR_DWO_SECTIONS.
+       All uses updated.
+       (create_dwp_v2_section, create_dwo_unit_in_dwp_v2): New functions.
+       (lookup_dwo_unit_in_dwp): Add V2 support.
+       (dwarf2_locate_dwo_sections): Update.
+       (dwarf2_locate_common_dwp_sections): Renamed from
+       dwarf2_locate_dwp_sections and update.  All callers updated.
+       (dwarf2_locate_v2_dwp_sections): New function.
+       (open_and_init_dwp_file): Add V2 support.
+       (read_str_index): New locals str_section, str_offsets_section.
+
+2013-10-04  Pedro Alves  <palves@redhat.com>
+
+       * common/ptid.c (null_ptid, minus_one_ptid, ptid_build)
+       (pid_to_ptid, ptid_get_pid, ptid_get_lwp, ptid_get_tid)
+       (ptid_equal, ptid_is_pid, ptid_lwp_p, ptid_tid_p): Replace
+       describing comments with references to ptid.h.
+       * common/ptid.h: Remove intro description of constructors,
+       accessors and predicates.
+       (struct ptid): Reformat.
+       (minus_one_ptid, ptid_build, pid_to_ptid, ptid_get_pid)
+       (ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid): Change
+       describing comments.
+
+2013-10-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * aix-thread.c (sync_threadlists): Add missing ')' in call
+       to ptid_build.
+
+2013-10-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * procfs.c (procfs_init_inferior): Fix typo causing the build
+       to fail.
+
+2013-10-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * aix-thread.c (ptrace32): Remove cast to addr_ptr.
+
+2013-10-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * mi/mi-main.c (run_one_inferior): Add function description.
+       Make ARG a pointer to an integer whose value determines whether
+       we should "run" or "start" the program.
+       (mi_cmd_exec_run): Add handling of the "--start" option.
+       Reject all other command-line options.
+       * NEWS: Add entry for "-exec-run"'s new "--start" option.
+
+2013-10-04  Yao Qi  <yao@codesourcery.com>
+
+       * remote-notif.h (REMOTE_NOTIF_ID): New enum.
+       (struct notif_client) <pending_event>: Moved
+       to struct remote_notif_state.
+       <id>: New field.
+       (struct remote_notif_state) <pending_event>: New field.
+       (notif_event_xfree): Declare.
+       * remote-notif.c (handle_notification): Adjust.
+       (notif_event_xfree): New function.
+       (do_notif_event_xfree): Call notif_event_xfree.
+       (remote_notif_state_xfree): Call notif_event_xfree to free
+       each element in field pending_event.
+       * remote.c (discard_pending_stop_replies): Remove declaration.
+       (discard_pending_stop_replies_in_queue): Declare.
+       (remote_close): Call discard_pending_stop_replies_in_queue
+       instead of discard_pending_stop_replies.
+       (remote_start_remote): Adjust.
+       (stop_reply_xfree): Call notif_event_xfree.
+       (notif_client_stop): Adjust initialization.
+       (remote_notif_remove_all): Rename it to ...
+       (remove_stop_reply_for_inferior): ... this.  Update comments.
+       Don't check INF is NULL.
+       (discard_pending_stop_replies): Return early if notif_state is
+       NULL.  Adjust.  Don't check INF is NULL.
+       (remote_notif_get_pending_events): Adjust.
+       (discard_pending_stop_replies_in_queue): New function.
+       (remote_wait_ns): Likewise.
+
+2013-10-04  Yao Qi  <yao@codesourcery.com>
+
+       * remote-notif.c (DECLARE_QUEUE_P): Remove.
+       (notif_queue): Remove.
+       (remote_notif_process): Add one parameter 'notif_queue'.
+       Update comments.  Callers update.
+       (remote_async_get_pending_events_token): Remove.
+       (remote_notif_register_async_event_handler): Remove.
+       (remote_notif_unregister_async_event_handler): Remove.
+       (handle_notification): Add parameter 'notif_queue'.  Update
+       comments.  Callers update.
+       (notif_xfree): Remove.
+       (remote_notif_state_allocate): New function.
+       (remote_notif_state_xfree): New function.
+       (_initialize_notif): Remove code to allocate queue.
+       * remote-notif.h (DECLARE_QUEUE_P): Moved from remote-notif.c.
+       (struct remote_notif_state): New.
+       (handle_notification): Update declaration.
+       (remote_notif_process): Likewise.
+       (remote_notif_register_async_event_handler): Remove.
+       (remote_notif_unregister_async_event_handler): Remove.
+       (remote_notif_state_allocate): Declare.
+       (remote_notif_state_xfree): Declare.
+       * remote.c (struct remote_state) <notif_state>: New field.
+       (remote_close): Don't call
+       remote_notif_unregister_async_event_handler.  Call
+       remote_notif_state_xfree.
+       (remote_open_1): Don't call
+       remote_notif_register_async_event_handler.  Call
+       remote_notif_state_allocate.
+
+2013-10-04  Yao Qi  <yao@codesourcery.com>
+
+       * varobj.c (create_child_with_value): Remove 'const' from the
+       type of parameter 'name'.
+       (varobj_add_child): Likewise.
+       (install_dynamic_child): Remove 'const' from the type of
+       parameter 'name'.
+       (varobj_add_child): Likewise.
+       (create_child_with_value): Likewise.  Update comments.  Don't
+       duplicate 'name'.
+       (update_dynamic_varobj_children): Duplicate 'name'
+       and pass it to install_dynamic_child.
+
+2013-10-03  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * python/py-value.c (convert_value_from_python): Move PyInt_Check
+       conversion logic to occur after PyLong_Check.  Comment on order
+       change significance.
+       * python/py-arch.c (archpy_disassemble): Comment on order of
+       conversion for integers and longs.
+
 2013-10-03  Pedro Alves  <palves@redhat.com>
 
        * common/linux-ptrace.c (linux_check_ptrace_features): Factor out
This page took 0.031494 seconds and 4 git commands to generate.