ARI cleanup.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 34304463d9a9990faff04e63f8c233226dba452a..20006276f910f8cfeeb81d5e65fa6867d5ecb7f0 100644 (file)
@@ -1,3 +1,266 @@
+2011-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       ARI cleanup.
+       * xtensa-tdep.c (xtensa_register_type): Use xstrprintf instead of
+       sprintf. Simplify code and avoid loosing memory.
+       (xtensa_register_reggroup_p): Extract assignment out of IF clause.
+       (call0_frame_cache): Remove && operator from end of line.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix libraries displacement if they change whether they were prelinked.
+       * solib-svr4.c (LM_ADDR_CHECK): Set L_ADDR even if the DYNAMIC pointer
+       does not match.  Comment why.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * corelow.c: Include wrapper.h.
+       (core_open): Call now gdb_target_find_new_threads.
+       * wrapper.c: Include target.h.
+       (gdb_target_find_new_threads): New.
+       * wrapper.h (gdb_target_find_new_threads): New declaration.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linux-thread-db.c (find_new_threads_callback): Exit on zero TI_TID
+       even if !TARGET_HAS_EXECUTION.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix convert_code_addr_to_desc_addr for ppc64 files after eu-strip.
+       * elfread.c (elf_symfile_read): New variable synth_abfd, pass it to
+       bfd_get_synthetic_symtab.
+       * jit.c (jit_register_code): Pass NULL to the new parameter parent.
+       * machoread.c (macho_add_oso_symfile): Pass main_objfile to the new
+       parameter parent, remove the call to add_separate_debug_objfile.
+       * solib.c (solib_read_symbols): Pass NULL to the new parameter parent.
+       * symfile-mem.c (symbol_file_add_from_memory): Likewise.
+       * symfile.c (symbol_file_add_with_addrs_or_offsets): New parameter
+       parent, new comment for it, call add_separate_debug_objfile for it.
+       (symbol_file_add_separate): Pass objfile as the parameter parent,
+       remove the call to add_separate_debug_objfile.
+       (symbol_file_add_from_bfd): New parameter parent, pass it.
+       (symbol_file_add): Pass NULL to the new parameter parent.
+       * symfile.h (symbol_file_add_from_bfd): New parameter parent.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * elfread.c (elf_symtab_read): Do not ignore .L symbols if they are
+       BSF_SYNTHETIC.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix Python access to inlined frames.
+       * python/py-frame.c (frapy_read_var): Find BLOCK using get_frame_block.
+       * python/py-symbol.c (gdbpy_lookup_symbol): Likewise.
+
+2011-04-15  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (add_index_entry): Use VEC_last, not VEC_length.
+
+2011-04-15  Gary Benson  <gbenson@redhat.com>
+
+       * MAINTAINERS: Add myself to write-after-approval section.
+
+2011-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * remote-sim.c (sim_command_completer): New function.
+       (_initialize_remote_sim): Set completer to sim_command_completer.
+
+2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpoint.c (print_exception_catchpoint): Rename to ...
+       (print_it_exception_catchpoint): ... this.
+       (gnu_v3_exception_catchpoint_ops): Update with new name
+       for print_it_exception_catchpoint.
+
+2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+       * MAINTAINERS: Add myself for write after approval privileges.
+
+2011-04-13  Marek Polacek  <mpolacek@redhat.com>
+
+       * MAINTAINERS: Add myself as a write-after-approval maintainer.
+
+2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpoint.c (watch_command_1): Remove colon from exp_string.
+
+2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpoint.c (save_breakpoints): Verify whether
+       breakpoint_ops.print_recreate is defined before calling it.
+
+2011-04-11  Gary Benson  <gbenson@redhat.com>
+
+       Fix failure with --enable-maintainer-mode.
+       * Makefile.in (aclocal_m4_deps): Updated gnulib dependencies.
+
+2011-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * symtab.c (search_symbols): Reorder the KIND description in the
+       function comment.  Remove the unused 4th element of types, types2,
+       types3 and types4.  New gdb_assert on KIND.
+       (symtab_symbol_info): Remove the unused 4th element of classnames.
+       New gdb_assert on KIND.
+       * symtab.h (enum search_domain): New warning in the enum comment.
+       Assign numbers to the elements VARIABLES_DOMAIN, FUNCTIONS_DOMAIN and
+       TYPES_DOMAIN.
+
+2011-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix crash of gdb save-index on a STABS file.
+       * dwarf2read.c (write_psymtabs_to_index): Return also on no
+       PSYMTABS_ADDRMAP.
+
+2011-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix DW_AT_accessibility compatibility with gcc-4.6+.
+       * dwarf2read.c: Include ctype.h.
+       (producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New
+       functions.
+       (dwarf2_add_field): Fix new_field->accessibility by calling
+       dwarf2_default_access_attribute.  Restructure setting accessibility
+       vs. virtuality.
+       (dwarf2_add_member_fn): New variable accessibility.  Fix fnp
+       is_private and is_protected by calling
+       dwarf2_default_access_attribute.
+
+2011-04-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason
+       to the initialization.
+
+2011-04-08  Steve Ellcey  <sje@cup.hp.com>
+
+       * Add default_frame_unwind_stop_reason value to libunwind_frame_unwind
+       initalization.
+
+2011-04-07  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Remove support for old Cygwin 1.5 versions.
+       * remote-fileio.c: Remove macros used to emulate new cygwin_conv_path
+       function on old Cygwin version.
+       * windows-nat.c: Remove cygwin version check and always define
+       __USEWIDE for Cygwin compilation.
+
+2011-04-07  Yao Qi  <yao@codesourcery.com>
+
+       * arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN
+       and TO.
+       * arm-tdep.c (cleanup_svc): Handle variable instruction size.
+       (arm_copy_svc): Remove parameters INSN and TO.
+       (decode_svc_copro): Update caller.
+       * arm-tdep.h (struct displaced_step_closure): Remove parameters
+       from function pointer `copy_svc_os'.
+
+2011-04-07  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (cleanup_branch): Set a correct return address in
+       LR for ARM and Thumb.
+
+2011-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * dictionary.c (dict_hash): Use SYMBOL_HASH_NEXT.
+       * dwarf2read.c (mapped_index_string_hash): Refer to SYMBOL_HASH_NEXT
+       in the function comment, a new note on values compatibility.
+       * minsyms.c (msymbol_hash_iw, msymbol_hash): Use SYMBOL_HASH_NEXT.
+       * symtab.h (SYMBOL_HASH_NEXT): New.
+
+2011-04-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * ppc-linux-nat.c (check_condition): Add len output parameter.
+       Set it based on the memory region referenced in the condition
+       expression.  Update all callers.
+
+2011-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix crash regression on systems featuring .gdb_index.
+       * objfiles.c (free_objfile): Move the
+       forget_cached_source_info_for_objfile call earlier.  Comment it.
+       Extend the comment for objfile_free_data.
+
+2011-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix regression of displaying the debug format.
+       * buildsym.c (end_symtab): Set symtab's debugformat and producer from
+       subfile.
+
+2011-04-04  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-interp.c (struct captured_execute_command_args):
+       Remove.
+       (do_captured_execute_command): Remove.
+       (safe_execute_command): Use TRY_CATCH.
+       * cli/cli-script.c (struct wrapped_read_command_file_args):
+       Remove.
+       (wrapped_read_command_file): Remove.
+       (script_from_file): Use TRY_CATCH.
+       * exceptions.c (catch_exception): Remove.
+       * exceptions.h (catch_exception): Remove.
+       (deprecated_throw_reason): Update comment.
+       * mi/mi-main.c (captured_mi_execute_command): Change 'data'
+       argument to 'context'.
+       (mi_execute_command): Use TRY_CATCH.
+       * remote.c (struct start_remote_args): Remove.
+       (remote_start_remote): Update; change arguments.
+       (remote_open_1): Use TRY_CATCH.
+
+2011-04-04  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.c (scope_info): Update.
+       * symtab.c (decode_line_spec): Update.
+       * python/python.c (gdbpy_decode_line): Update.
+       * linespec.h (decode_line_1): Update.
+       * linespec.c (decode_line_1): Remove 'not_found_ptr' argument.
+       (decode_compound, find_method, symtab_from_filename)
+       (decode_variable): Likewise.
+       * cli/cli-cmds.c (edit_command): Update.
+       (list_command): Update.
+       * breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr'
+       argument.
+       (create_breakpoint): Update.
+       (until_break_command): Update.
+       (addr_string_to_sals): Update.
+       (decode_line_spec_1): Update.
+
+2011-04-04  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (struct captured_parse_breakpoint_args): Remove.
+       (do_captured_parse_breakpoint): Remove.
+       (create_breakpoint): `e' is now volatile.  Remove `parse_args'.
+       Use TRY_CATCH directly.
+
+2011-04-04  Tom Tromey  <tromey@redhat.com>
+
+       * symtab.h (free_symtab): Remove.
+       (forget_cached_source_info_for_objfile): Declare.
+       * symmisc.c (free_symtab): Remove.
+       * source.c (forget_cached_source_info_for_objfile): New function.
+       (forget_cached_source_info): Use it.
+       * objfiles.c (free_objfile): Simplify check before calling
+       clear_current_source_symtab_and_line.  Call
+       forget_cached_source_info_for_objfile.
+
+2011-04-04  Tom Tromey  <tromey@redhat.com>
+
+       * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack.
+       (new_symtab): Don't set `free_code' on symtab.
+       (new_linetable): Properly handle size==0.
+       * symtab.h (struct symtab) <free_code, free_func>: Remove.
+       * symmisc.c (free_symtab): Don't free the linetable.  Don't call
+       free_func.
+       * jv-lang.c (struct jv_per_objfile_data): New.
+       (jv_per_objfile_free): Free the data.
+       (get_dynamics_objfile): Allocate a jv_per_objfile_data.
+       (get_java_class_symtab): Set the `dict' field on the
+       jv_per_objfile_data.
+       (free_class_block): Remove.
+       * buildsym.c (end_symtab): Don't set `free_code' or `free_func' on
+       the symtab.
+
 2011-04-04  Tom Tromey  <tromey@redhat.com>
 
        * symfile.c (reread_symbols): Update.
This page took 0.027292 seconds and 4 git commands to generate.