btrace, linux: fix memory leak when reading branch trace
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 1ea6dace635a08336dee6848e2136dfed7e36832..e1e6c744611fd584c5feb1e19cfd5e43ed2f22b5 100644 (file)
@@ -1,3 +1,175 @@
+2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * common/linux-btrace.c (linux_read_btrace): Free trace from
+       previous iteration.
+
+2014-01-15  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
+       uint32_t.
+
+2014-01-15  Tom Tromey  <tromey@redhat.com>
+
+       * dbxread.c (process_one_symbol): Use set_objfile_main_name.
+       * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
+       * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
+       (set_objfile_main_name): New function.
+       * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
+       language_of_main>: New fields.
+       (set_objfile_main_name): Declare.
+       * symtab.c (find_main_name): Loop over objfiles to find the main
+       name and language.
+       (set_main_name): Now static.
+       (get_main_info): Add comment.
+       * symtab.h (set_main_name): Don't declare.
+
+2014-01-15  Tom Tromey  <tromey@redhat.com>
+
+       * symtab.c (main_progspace_key): New global.
+       (struct main_info): New.
+       (name_of_main, language_of_main): Remove.
+       (get_main_info, main_info_cleanup): New function.
+       (set_main_name, main_name, main_language): Use get_main_info.
+       (_initialize_symtab): Initialize main_progspace_key.
+
+2014-01-15  Tom Tromey  <tromey@redhat.com>
+
+       * dbxread.c (process_one_symbol): Update.
+       * dwarf2read.c (read_partial_die): Update.
+       * symfile.c (set_initial_language): Call main_language.
+       * symtab.c (language_of_main): Now static.
+       (set_main_name): Add 'lang' parameter.
+       (find_main_name): Update.
+       (main_language): New function.
+       (symtab_observer_executable_changed): Update.
+       * symtab.h (set_main_name): Update.
+       (language_of_main): Remove.
+       (main_language): Declare.
+
+2014-01-15  Tom Tromey  <tromey@redhat.com>
+
+       * symfile.c (init_entry_point_info): Use new "initialized" field.
+       Update.
+       * objfiles.h (struct entry_point) <initialized>: New field.
+       (struct objfile_per_bfd_storage) <ei>: New field, moved from...
+       (struct objfile) <ei>: ...here.  Remove.
+       * objfiles.c (entry_point_address_query): Update.
+
+2014-01-15  Tom Tromey  <tromey@redhat.com>
+
+       * objfiles.c (entry_point_address_query): Relocate entry point
+       address.
+       (objfile_relocate1): Do not relocate entry point address.
+       * objfiles.h (struct entry_info) <entry_point>: Update comment.
+       <the_bfd_section_index>: New field.
+       * symfile.c (init_entry_point_info): Find the entry point's
+       section.
+
+2014-01-15  Tom Tromey  <tromey@redhat.com>
+
+       * solib-frv.c (enable_break): Use entry_point_address_query.
+
+2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
+
+       * NEWS: Add note on improved process record-replay on
+       arm*-linux* targets.
+
+2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
+
+       * arm-tdep.c (enum arm_record_result): New enum.
+       (arm_record_unsupported_insn): New function.
+       (arm_record_coproc_data_proc): Removed.
+       (thumb2_record_ld_st_multiple): New function.
+       (thumb2_record_ld_st_dual_ex_tbb): New function.
+       (thumb2_record_data_proc_sreg_mimm): New function.
+       (thumb2_record_ps_dest_generic): New function.
+       (thumb2_record_branch_misc_cntrl): New function.
+       (thumb2_record_str_single_data): New function.
+       (thumb2_record_ld_mem_hints): New function.
+       (thumb2_record_ld_word): New function.
+       (thumb2_record_lmul_lmla_div): New function.
+       (thumb2_record_decode_insn_handler): New function.
+       (decode_insn): Add thumb32 instruction handlers.
+
+2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
+
+       * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
+       (struct arm_linux_record_tdep): Declare.
+       (arm_canonicalize_syscall): New function.
+       (arm_all_but_pc_registers_record): New function.
+       (arm_linux_syscall_record): New function.
+       (arm_linux_init_abi): Add syscall recording constructs.
+       * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
+       decoding.  (arm_record_coproc_data_proc): Update arm syscall
+       decoding.
+       * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
+       <arm_syscall_record>: New field.
+       * configure.tgt (arm*-*-linux*): Add linux-record.o to
+       gdb_target_obs.
+
+2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
+
+       * arm-tdep.c (thumb_record_misc): Update to use sp as base
+       register for push instruction recording.
+
+2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
+
+       * arm-tdep.c (thumb_record_misc): Update to correct logical
+       error while recording ldm, ldmia and pop instructions.
+
+2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
+
+       * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
+
+2014-01-15  Pedro Alves  <palves@redhat.com>
+
+       * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
+       (go32_resume, go32_fetch_registers, store_register)
+       (go32_store_registers, go32_prepare_to_store)
+       (go32_xfer_memory, go32_files_info, go32_kill_inferior)
+       (go32_create_inferior, go32_can_run, go32_terminal_init)
+       (go32_terminal_inferior, go32_terminal_ours): Delete forward
+       declarations.
+
+2014-01-15  Tom Tromey  <tromey@redhat.com>
+
+       * target.h (async_callback_ftype): New typedef.
+       (struct target_ops) <to_async>: Use it.
+
+2014-01-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * python/py-value.c (get_field_type): Remove unnecessary curly
+       braces for single-statement if block.
+
+2014-01-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * python/py-type.c (convert_field): Add missing empty line
+       after declarations.
+
+2014-01-14  Doug Evans  <dje@google.com>
+
+       * symfile.h (expand_symtabs_matching): Renamed from
+       expand_partial_symbol_names.  Update prototype.
+       (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
+       * symfile.c (expand_symtabs_matching): Renamed from
+       expand_partial_symbol_names.  New args file_matcher, kind.
+       Rename arg fun to symbol_matcher.
+       (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
+       * ada-lang.c (ada_complete_symbol_matcher): Renamed from
+       ada_expand_partial_symbol_name.
+       (ada_make_symbol_completion_list): Update to call
+       expand_symtabs_matching.
+       (ada_add_global_exceptions): Call expand_symtabs_matching.
+       * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
+       call map_symbol_filenames.
+       * symtab.c (sources_info): Update to call map_symbol_filenames.
+       (search_symbols): Call expand_symtabs_matching.
+       (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
+       (default_make_symbol_completion_list_break_on): Update to call
+       expand_symtabs_matching.
+       (make_source_files_completion_list): Update to call
+       map_symbol_filenames.
+
 2014-01-14  Doug Evans  <dje@google.com>
 
        * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
This page took 0.027322 seconds and 4 git commands to generate.