]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
gdb
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index d79197e59d148f06e49e0d01345b44c18f52d718..bdf13e3c561d506cbe626aa3e2c71799d9c68c8d 100644 (file)
@@ -1,3 +1,946 @@
+2011-04-19  Tom Tromey  <tromey@redhat.com>
+
+       * windows-tdep.c (windows_xfer_shared_library):
+       * windows-nat.c (get_module_name, windows_make_so):
+       * v850-tdep.c (v850_handle_pushm):
+       * utils.c (null_cleanup, gdb_realpath):
+       * ui-out.c (get_next_header):
+       * tracepoint.c (clear_traceframe_info):
+       * symtab.c (lookup_symtab):
+       * serial.h (struct serial_ops):
+       * mipsread.c (read_alphacoff_dynamic_symtab):
+       * infcmd.c (print_return_value):
+       * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address):
+       * f-exp.y (parse_number):
+       * exceptions.c (catch_exceptions):
+       * dummy-frame.c (dummy_frame_this_id):
+       * defs.h (struct cleanup):
+       * breakpoint.c (disable_breakpoints_in_unloaded_shlib):
+       * arm-tdep.c (arm_push_dummy_call):
+       * amd64-tdep.h (amd64_collect_xsave):
+       * amd64-tdep.c (amd64_collect_xsave):
+       * alpha-tdep.c (alpha_heuristic_frame_unwind_cache):
+       * README (typing): Remove duplicate words.
+       * cli/cli-decode.c (lookup_cmd_composition): Add comma.
+       * infrun.c (siginfo_value_read): Fix typo.
+       * solib-frv.c (frv_fdpic_find_global_pointer): Likewise.
+       * top.c (source_line_number): Add comma.
+
+2011-04-19  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+       * thread.c (any_live_thread_of_process): Prioritize threads
+       that are not executing.
+       * gdbthread.h (any_live_thread_of_process): Update comment
+       as per above change.
+
+2011-04-19  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * xcoffread.c (process_xcoff_symbol): Remove useless cast.
+       (scan_xcoff_symtab): Likewise.
+
+2011-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment
+       inside if clause.
+
+2011-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       * xstormy16-tdep.c (xstormy16_push_dummy_call): Add local
+       variables to simplify code and avoid == operator at end of
+       line as this is against GNU coding standards.
+
+2011-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * solib-svr4.c (svr4_keep_data_in_core): Rename local variable
+       lm_name to name_lm to avoid conflict with lm_name function.
+
+2011-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       ARI fixes: Use only lowercase function name for static functions.
+       * nto-tdep.c (LM_ADDR): Rename to...
+       (lm_addr): New function name.
+       (nto_relocate_section_addresses): Adapt to change above.
+       * solib-sunos.c (LM_ADDR): Rename to...
+       (lm_addr): New function name.
+       (LM_NEXT): Rename to...
+       (lm_next): New function name.
+       (sunos_current_sos, sunos_relocate_section_addresses): Adapt to
+       function name changes above.
+       * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Rename to...
+       (lm_addr_from_link_map): New function name.
+       (HAS_LM_DYNAMIC_FROM_LINK_MAP): Rename to...
+       (has_lm_dynamic_from_link_map): New function name.
+       (LM_DYNAMIC_FROM_LINK_MAP): Rename to...
+       (lm_dynamic_from_link_map): New function name.
+       (LM_ADDR_CHECK): Rename to...
+       (lm_addr_check): New function name.
+       (LM_NEXT): Rename to...
+       (lm_next): New function name.
+       (LM_PREV): Rename to...
+       (lm_prev): New function name.
+       (LM_NAME): Rename to...
+       (lm_name): New function name.
+       (IGNORE_FIRST_LINK_MAP_ENTRY): Rename to...
+       (ignore_first_link_map_entry): New function name.
+       (svr4_keep_data_in_core): Adapt to function name changes above.
+       (svr4_current_sos): Likewise.
+       (enable_break): Likewise.
+       (svr4_relocate_section_addresses): Likewise.
+
+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.
+       * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove
+       field.
+       * objfiles.c (allocate_objfile): Update.
+       * cp-support.h (cp_check_possible_namespace_symbols): Don't
+       declare.
+       * cp-namespace.c (lookup_symbol_file): Don't call
+       lookup_possible_namespace_symbol.
+       (initialize_namespace_symtab, get_possible_namespace_block)
+       (free_namespace_block, cp_check_possible_namespace_symbols)
+       (check_possible_namespace_symbols_loop)
+       (check_one_possible_namespace_symbol)
+       (lookup_possible_namespace_symbol): Remove.
+       (maintenance_cplus_namespace): Replace with notice.
+       (_initialize_cp_namespace): Deprecate `maint cplus namespace'.
+
+2011-04-04  Tom Tromey  <tromey@redhat.com>
+
+       * xcoffread.c (read_xcoff_symtab): Make `debugfmt' const.
+       * symtab.h (struct symtab) <producer, debugformat>: Now const.
+       * symmisc.c (free_symtab): Don't free debugformat.
+       * buildsym.h (struct subfile) <producer, debugformat>: Now const.
+       (record_debugformat, record_producer): Document.
+       * buildsym.c (end_symtab): Don't save debugformat and producer
+       names on obstack.
+       (end_symtab): Don't free debugformat and producer fields.
+       (record_debugformat): Don't call xstrdup.
+       (record_producer): Likewise.
+
+2011-04-04  Tom Tromey  <tromey@redhat.com>
+
+       * source.c (find_source_lines): Remove LSEEK_NOT_LINEAR code.
+       (source_line_charpos, source_charpos_line): Remove.
+
+2011-04-04  Tom Tromey  <tromey@redhat.com>
+
+       * symtab.h (domain_enum): Split in two...
+       (enum search_domain): New.
+       (search_symbols): Update.
+       * symtab.c (print_symbol_info, symtab_symbol_info): Remove
+       redundant declarations.
+       (search_symbols): Change 'kind' argument to search_domain.
+       Update.
+       (print_symbol_info): Likewise.
+       (symtab_symbol_info): Likewise.
+       * symfile.h (struct quick_symbol_functions)
+       <pre_expand_symtabs_matching>: Change type of 'kind' argument.
+       <expand_symtabs_matching>: Likewise.
+       * psymtab.c (pre_expand_symtabs_matching_psymtabs): Update.
+       (expand_symtabs_matching_via_partial): Update.
+       * dwarf2read.c (dw2_pre_expand_symtabs_matching): Update.
+       (dw2_expand_symtabs_for_function): Update.
+       * block.h: Moved anonymous enum...
+       * defs.h (enum block_enum): ... here.  Now named.
+
+2011-04-03  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.3 branch created (branch timestamp: 2011-04-01 01:00 UTC)
+       * version.in: Bump version to 7.3.50.20110403-cvs.
+
+2011-04-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Create a new section for the next release branch.
+       Rename the section of the current branch, now that it has
+       been cut.
+
+2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * arm-tdep.c (arm_gdbarch_init): Enfore correct register number
+       for "fpscr" in target description.
+
+2011-04-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (find_slot_in_mapped_hash): New variable back_to,
+       initialize it.  Delay HASH initialization.  Strip the part after open
+       parenthesis for languages with qualifiers.  Call do_cleanups.
+
+2011-04-01  Tom Tromey  <tromey@redhat.com>
+
+       * utils.c (report_command_stats): Don't print `-' for negative
+       number.
+
+2011-04-01  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr)
+       (ada_value_slice, empty_array, to_fixed_array_type): Deal with
+       typedefs.
+
+2011-04-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * breakpoint.h (bpdisp_text): Add declaration.
+       * breakpoint.c (bpdisp_text): Make non-static.
+       * ada-lang.c: #include "mi/mi-common.h".
+       (print_it_exception): Rewrite to improve GDB/MI output.
+
+2011-04-01  Pedro Alves  <pedro@codesourcery.com>
+
+       * arm-tdep.h (struct address_space): Add forward declaration.
+
+2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype.
+       * arm-tdep.c (arm_override_mode): New global.
+       (arm_pc_is_thumb): Respect arm_override_mode.  Remove single-step
+       execution mode heuristics.
+       (thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert
+       second single-step breakpoint if needed, using
+       arm_insert_single_step_breakpoint.
+       (arm_get_next_pc_raw): Remove INSERT_BKTP argument.  Only handle
+       ARM execution mode, do not call thumb_get_next_pc_raw.
+       (arm_get_next_pc): Encode execution mode in return value.  Call
+       either arm_get_next_pc_raw or thumb_get_next_pc_raw.
+       (arm_insert_single_step_breakpoint): New function.
+       (arm_software_single_step): Call it.
+       * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB
+       argument to return execution mode of sigreturn target.
+       (arm_linux_syscall_next_pc): Use it.
+       (arm_linux_copy_svc): Update call.
+       (arm_linux_software_single_step): Call
+       arm_insert_single_step_breakpoint.
+
+2011-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in
+       the comment.
+
+2011-03-31  Tom Tromey  <tromey@redhat.com>
+
+       * varobj.c (update_dynamic_varobj_children): Properly handle
+       errors from iterator.
+
+2011-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (dwarf2_name): Initialize DEMANGLED.  Avoid demangling
+       struct linkage name twice.
+
+2011-03-31  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-prettyprint.c (print_stack_unless_memory_error): Add
+       missing ">" to message.
+
+2011-03-31  Tom Tromey  <tromey@redhat.com>
+
+       * varobj.c (instantiate_pretty_printer): Remove duplicate
+       'return'.
+
+2011-03-31  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * i386-tdep.c (i386_frame_prev_register): Unwind SP from memory
+       if neither saved value nor register available (e.g. signal frame).
+
+2011-03-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * macroexp.c (expand): Avoid uninitialized variable
+       compiler warning.
+
+2011-03-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpoint.c (break_range_command): Fix typo in comment.
+
+2011-03-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+           Sergio Durigan Junior  <sergiodj@linux.vnet.ibm.com>
+
+       Implement support for PowerPC BookE ranged breakpoints.
+       * NEWS: Mention support for ranged breakpoints on embedded PowerPC.
+       * breakpoint.h (struct bp_target_info) <length>: New member
+       variable.
+       (struct breakpoint_ops) <breakpoint_hit>: Take struct bp_location
+       instead of struct breakpoint as argument, and also add ASPACE
+       and BP_ADDR arguments.  Update all callers.
+       (struct breakpoint_ops) <print_one_detail>: New method.
+       (struct breakpoint) <addr_string_range_end>: New member variable.
+       * breakpoint.c (breakpoint_location_address_match): Add function
+       prototype.
+       (insert_bp_location): Set bl->target_info.length.
+       (breakpoint_here_p): Call breakpoint_location_address_match.
+       (moribund_breakpoint_here_p): Likewise.
+       (regular_breakpoint_inserted_here_p): Likewise.
+       (breakpoint_thread_match): Likewise.
+       (bpstat_stop_status): Likewise.
+       (bpstat_check_location): Move call to
+       breakpoint_ops.breakpoint_hit to the top.
+       (print_one_breakpoint_location): Call
+       breakpoint_ops.print_one_detail if available.
+       (breakpoint_address_match_range): New function.
+       (breakpoint_location_address_match): Likewise.
+       (breakpoint_locations_match): Compare the length field of the
+       locations too.
+       (hw_breakpoint_used_count): Count resources used by all locations
+       in a breakpoint, and use breakpoint_ops.resources_needed if
+       available.
+       (breakpoint_hit_ranged_breakpoint): New function.
+       (resources_needed_ranged_breakpoint): Likewise.
+       (print_it_ranged_breakpoint): Likewise.
+       (print_one_ranged_breakpoint): Likewise.
+       (print_one_detail_ranged_breakpoint): Likewise.
+       (print_mention_ranged_breakpoint): Likewise.
+       (print_recreate_ranged_breakpoint): Likewise.
+       (ranged_breakpoint_ops): New structure.
+       (find_breakpoint_range_end): New function.
+       (break_range_command): Likewise.
+       (delete_breakpoint): Free addr_string_range_end.
+       (update_breakpoint_locations): Add SALS_END argument.  Update
+       all callers.  Calculate breakpoint length if a non-zero SALS_END
+       is given.  Call breakpoint_locations_match instead of
+       breakpoint_address_match.
+       (reset_breakpoint): Find SaL of the end of the range if B is a
+       ranged breakpoint.
+       (_initialize_breakpoint): Register break-range command.
+       * defs.h (print_core_address): Add function prototype.
+       * ppc-linux-nat.c (ppc_linux_ranged_break_num_registers): New
+       function.
+       (ppc_linux_insert_hw_breakpoint): Support ranged breakpoints.
+       (ppc_linux_remove_hw_breakpoint): Likewise.
+       (_initialize_ppc_linux_nat): Initialize
+       to_ranged_break_num_registers.
+       * target.c (update_current_target): Add comment about
+       to_ranged_break_num_registers.
+       (target_ranged_break_num_registers): New function.
+       * target.h (struct target_ops) <to_ranged_break_num_registers>:
+       New method.
+       (target_ranged_break_num_registers): Add function prototype.
+       * ui-out.c (ui_out_field_core_addr): Move address-printing logic to ...
+       * utils.c (print_core_address): ... here.
+
+2011-03-31  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * breakpoint.c (addr_string_to_sals): Avoid uninitialized
+       variable compiler warning.
+
+2011-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpoint.c (breakpoint_re_set_one): Factor out breakpoint-resetting
+       code from here ...
+       (re_set_breakpoint): ... to here ...
+       (addr_string_to_sals): ... and here.
+
+2011-03-29  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * Makefile.in (SFILES): Add missing C sources.
+       (HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers.
+       Add missing headers.
+
+2011-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * .gitignore: New file.
+
+2011-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * NEWS: Mention new cfi device simulation.
+
+2011-03-29  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (fixup_partial_die): Handle linkage name on
+       otherwise anonymous types.
+       (dwarf2_name): Likewise.
+       * valops.c (value_struct_elt_for_reference): Refine artificial
+       type logic.  Call error if j==-1.
+
+2011-03-29  Andreas Tobler  <andreast-list@fgznet.ch>
+
+       Fix false GCC warning.
+       * infcall.c (find_function_addr): Initialize funaddr.
+
+2011-03-29  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Fix mingw compilation with --enable-targets=all.
+       * remote-mips.c (gdb_usleep.h): Include header.
+       (mips_enter_debug): Use gdb_usleep instead of sleep.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Support resolution of STT_GNU_IFUNC via breakpoints.
+       * breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and
+       bp_gnu_ifunc_resolver_return.
+       (bpstat_what): Rename parameter to bs_head, new variable bs, adjust
+       the loop.  Support bp_gnu_ifunc_resolver and
+       bp_gnu_ifunc_resolver_return.  New comment after the loop.  New loop
+       for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return
+       breakpoints.
+       (bptype_string, print_one_breakpoint_location): Support
+       bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return.
+       (user_settable_breakpoint): Return true also for
+       bp_gnu_ifunc_resolver.
+       (allocate_bp_location): Support bp_gnu_ifunc_resolver and
+       bp_gnu_ifunc_resolver_return.
+       (set_breakpoint_location_function): New parameter explicit_loc,
+       describe it.  Call find_pc_partial_function_gnu_ifunc with new
+       variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if
+       EXPLICIT_LOC is not set.
+       (set_raw_breakpoint): Set EXPLICIT_LOC for
+       set_breakpoint_location_function.
+       (clone_momentary_breakpoint): Use true for EXPLICIT_LOC of
+       set_breakpoint_location_function.
+       (mention): Support bp_gnu_ifunc_resolver and
+       bp_gnu_ifunc_resolver_return.
+       (add_location_to_breakpoint): Set EXPLICIT_LOC for
+       set_breakpoint_location_function.
+       (update_breakpoint_locations): Remove static.
+       (breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and
+       bp_gnu_ifunc_resolver_return.
+       * breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and
+       bp_gnu_ifunc_resolver_return.
+       (update_breakpoint_locations): New declaration.
+       * elfread.c: Include gdbthread.h and regcache.h.
+       (elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New
+       functions.
+       (elf_gnu_ifunc_fns): Install them.
+       * minsyms.c (stub_gnu_ifunc_resolver_stop)
+       (stub_gnu_ifunc_resolver_return_stop): New functions.
+       (stub_gnu_ifunc_fns): Install them.
+       * symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop
+       and gnu_ifunc_resolver_return_stop.
+       (gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       STT_GNU_IFUNC reader implementation.
+       * elfread.c: Include gdbtypes.h, value.h and infcall.h.
+       (SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read)
+       (elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache)
+       (elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq)
+       (elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache)
+       (elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name)
+       (elf_gnu_ifunc_resolve_addr): New.
+       (elf_symfile_read): Call elf_rel_plt_read.
+       (elf_gnu_ifunc_fns): New.
+       (_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data.
+       Install elf_gnu_ifunc_fns.
+       * infcall.c (find_function_return_type): New function.
+       (find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible.
+       * minsyms.c (stub_gnu_ifunc_resolve_addr)
+       (stub_gnu_ifunc_resolve_name): New functions.
+       (stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables.
+       * symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr)
+       (gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup for later STT_GNU_IFUNC support.
+       * infcall.c (find_function_addr): Remove variable code, use explicit
+       dereferences for it.  Move VALUE_TYPE initialization later.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       GDB find_pc_partial_function support for STT_GNU_IFUNC.
+       * blockframe.c (cache_pc_function_is_gnu_ifunc): New variable.
+       (clear_pc_function_cache): Clear it.
+       (find_pc_partial_function): Rename to ...
+       (find_pc_partial_function_gnu_ifunc): ... this function.  New
+       parameter is_gnu_ifunc_p, describe it.  Set *IS_GNU_IFUNC_P.
+       (find_pc_partial_function): New wrapper for this function.
+       * symtab.h (find_pc_partial_function_gnu_ifunc): New declaration.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       GDB internal type support for STT_GNU_IFUNC.
+       * elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc.
+       (elf_symtab_read): Set mst_text_gnu_ifunc for
+       BSF_GNU_INDIRECT_FUNCTION.
+       * eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC.
+       * gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC,
+       builtin_func_func, nodebug_text_gnu_ifunc_symbol and
+       nodebug_got_plt_symbol.
+       * gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC.
+       (TYPE_GNU_IFUNC): New.
+       (struct main_type): New field flag_gnu_ifunc.
+       (struct builtin_type): New field builtin_func_func.
+       (struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and
+       nodebug_got_plt_symbol.
+       * minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc.
+       (in_gnu_ifunc_stub): New.
+       (prim_record_minimal_symbol, find_solib_trampoline_target): Support
+       mst_text_gnu_ifunc.
+       * parse.c (write_exp_msymbol): New variable ifunc_msym.  Detect and
+       support mst_text_gnu_ifunc.  Support mst_slot_got_plt.
+       * solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for
+       in_gnu_ifunc_stub.
+       * symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc.
+       * symtab.c (search_symbols): Likewise.
+       * symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc
+       and mst_slot_got_plt.
+       (in_gnu_ifunc_stub): New declaration.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Support a ring of related breakpoints.
+       * breakpoint.c (watchpoint_del_at_next_stop): New, move here code from
+       other functions, add gdb_assert.
+       (update_watchpoint, watchpoint_check): Add gdb_assert.  Use
+       watchpoint_del_at_next_stop.
+       (bpstat_check_watchpoint): Use watchpoint_del_at_next_stop.
+       (bpstat_stop_status): Handle ring in related_breakpoint.
+       (set_raw_breakpoint_without_location): Initialize ring in
+       related_breakpoint.
+       (delete_breakpoint): Handle ring in related_breakpoint, use
+       watchpoint_del_at_next_stop.
+       (map_breakpoint_numbers): Handle ring in related_breakpoint.
+
+2011-03-28  Tom Tromey  <tromey@redhat.com>
+
+       PR symtab/12441:
+       * dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language
+       with `language_minimal'.
+
+2011-03-25  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE
+       instead of checking for STT_ARM_TFUNC symbol type.
+
+2011-03-25  Tom Tromey  <tromey@redhat.com>
+
+       * linespec.c (symbol_found): Restore line-based result for
+       non-LOC_LABEL symbols.
+
+2011-03-25  Kai Tietz  <ktietz@redhat.com>
+
+       * tui/tui-source.c (tui_set_source_content): Use filename_cmp
+       instead of strcmp for comparison.
+       (tui_source_is_displayed): Likewise.
+       * tui/tui-winsource.c (tui_update_breakpoint_info): Likewise.
+
+2011-03-24  Mark Wielaard  <mjw@redhat.com>
+
+        * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in
+        complaint.
+        (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8.
+        (find_partial_die_in_comp_unit): Likewise in comment.
+        (read_attribute_value): Likewise.
+        (lookup_die_type): Likewise.
+        (dwarf_form_name): Likewise.
+        (dump_die_shallow): Likewise.
+        (follow_die_ref_or_sig): Likewise.
+
+2011-03-24  Tom Tromey  <tromey@redhat.com>
+
+       PR breakpoints/11816:
+       * linespec.c (decode_line_1): Parse `function:label' linespecs.
+       (decode_compound): Update.
+       (find_function_symbol): New function.
+       (decode_dollar): Update.
+       (decode_label): Add 'function_symbol' parameter.  Handle
+       function-relative labels.
+       (decode_variable): Update.
+       (symbol_found): Add 'function_symbol' parameter.  Use label's PC,
+       not its line.  Set `special_display' and canonical name for
+       labels.
+
+2011-03-24  Tom Tromey  <tromey@redhat.com>
+
+       * linespec.h (struct linespec_result) <special_display>: New
+       field.
+       * breakpoint.h (struct breakpoint) <display_canonical>: New
+       field.
+       * breakpoint.c (print_breakpoint_location): Respect
+       display_canonical.
+       (create_breakpoint_sal): Add 'display_canonical' parameter.
+       (create_breakpoints_sal): Update.
+       (create_breakpoint): Update.
+
+2011-03-24  Tom Tromey  <tromey@redhat.com>
+
+       * symtab.c (decode_line_spec): Update.
+       * linespec.c (build_canonical_line_spec): Change type of
+       'canonical'.
+       (decode_line_2, decode_line_1, decode_objc, decode_compound)
+       (find_method, decode_all_digits, decode_dollar, decode_label)
+       (symbol_found): Likewise.
+       (init_linespec_result): New function.
+       * breakpoint.c (struct captured_parse_breakpoint_args)
+       <canonical_p>: New field, replaces addr_string_p.
+       (create_breakpoints_sal): Add 'canonical' parameter, replacing
+       'addr_string'.
+       (parse_breakpoint_sals): Likewise.
+       (do_captured_parse_breakpoint): Update.
+       (create_breakpoint): Use struct linespec_result.
+       (until_break_command): Update.
+       (breakpoint_re_set_one): Update.
+       (decode_line_spec_1): Update.
+       * linespec.h (struct linespec_result): New.
+       (init_linespec_result): Declare.
+
+2011-03-23  Pedro Alves  <pedro@codesourcery.com>
+
+       * regcache.c (regcache_raw_read): If the target didn't supply a
+       given raw register, mark it as unavailable.
+
+2011-03-23  Kai Tietz  <ktietz@redhat.com>
+
+       * breakpoint.c (clear_command): Use filename_cmp
+       instead of strcmp for comparison.
+       * buildsym.c (watch_main_source_file_lossage): Likewise.
+       (patch_subfile_names): Use IS_DIR_SEPARATOR instead of
+       checking just for slash.
+       * dbxread.c (read_dbx_symtab): Use lbasename instead of
+       strrchr and filename_cmp instead of strcmp for filenames.
+       (add_old_header_file): Use filename_cmp
+       instead of strcmp for comparison.
+       * exec.c (exec_set_section_address): Likewise.
+       * macrotab.c (macro_lookup_inclusion): Likewise.
+       (macro_lookup_inclusion): Likewise.
+       * elfread.c (_initialize_elfread): Likewise.
+       (elfstab_offset_sections): Likewise.
+       (elfstab_offset_sections): Use lbasename instead of
+       strrchr.
+       * mdebugread.c (parse_partial_symbols): Likewise.
+       (arse_partial_symbols): Use filename_(n)cmp instead of
+       str(n)cmp for comparison.
+       * minsyms.c (lookup_minimal_symbol): Likewise.
+       * psymtab.c (read_psymtabs_with_filename): Likewise.
+       * solib.c (solib_read_symbols): Likewise.
+       (reload_shared_libraries_1): Likewise.
+       * symmisc.c (maintenance_print_symbols): Likewise.
+       * symfile.c (separate_debug_file_exists): Likewise.
+       (reread_symbols): Likewise.
+       (find_separate_debug_file_by_debuglink): Likewise.
+       * remote-fileio.c (remote_fileio_func_rename): Likewise.
+       * source.c (add_path): Likewise.
+       * symtab.c (filename_seen): Likewise.
+       (file_matches): Likewise.
+       (print_symbol_info): Likewise.
+       (maybe_add_partial_symtab_filename): Likewise.
+       (make_source_files_completion_list): Likewise.
+       * xml-syscall.c (init_sysinfo): Likewise.
+       * windows-nat.c (_initialize_check_for_gdb_ini): Use
+       IS_DIR_SEPARATOR for checking for trailing path separator.
+
+2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value.  New
+       label abort_expression.
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle
+       DWARF_VALUE_OPTIMIZED_OUT.
+
+2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * c-typeprint.c (c_type_print_args): Change parameter show_artificial
+       to linkage_name.  Invert its value.  Update the function comment.
+       (c_type_print_varspec_suffix): Invert it at the caller.
+       * dwarf2read.c (dwarf2_compute_name): Invert it at the caller.
+
+2011-03-22  Pedro Alves  <pedro@codesourcery.com>
+
+       * infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR
+       errors when reading the `stop_pc'.
+       * printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of
+       get_frame_pc.
+
+2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * NEWS: Document gdb.Write stream keyword.
+
+2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Revert:
+       2011-03-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+       * dwarf2read.c (producer_is_gxx_lt_4_6): New function.
+       (dwarf2_add_field): Fix new_field->accessibility for
+       cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6.
+
+2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
+
+        PR python/12183
+
+       * python/py-function.c (fnpy_call): Treat GdbErrors differently to
+       other error classes.  Do not print stack trace.
+
+2011-03-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (producer_is_gxx_lt_4_6): New function.
+       (dwarf2_add_field): Fix new_field->accessibility for
+       cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6.
+
+2011-03-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * arm-tdep.c (arm_analyze_prologue): Do not abort parsing when
+       encountering a load via a non-SP register.
+
+2011-03-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason
+       field in returned unwinder.
+
+2012-03-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * ada-lang.c (replace_operator_with_call): Copy also GDBARCH.
+
 2012-03-21  Joel Brobecker  <brobecker@adacore.com>
 
        * ada-lang.c (replace_operator_with_call): Use xzalloc instead