gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e5600dcedeb7574932334369546f58127f82f8e2..8c156e172788dd6c72d9fdfd11d279b1ff45fa22 100644 (file)
@@ -1,3 +1,142 @@
+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
This page took 0.025082 seconds and 4 git commands to generate.