Introduce find_function_entry_range_from_pc and use it in infrun.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 96bf87b8a2b720a2d60ac11b724baf65ccd74373..319c19685b0639228c32cfa497ff452000e1feba 100644 (file)
@@ -1,3 +1,102 @@
+2018-08-23  Kevin Buettner  <kevinb@redhat.com>
+
+       * block.h (blockrange, blockranges): New struct declarations.
+       (struct block): Add new field named `ranges'.
+       (BLOCK_RANGES, BLOCK_NRANGES, BLOCK_RANGE, BLOCK_CONTIGUOUS_P)
+       (BLOCK_RANGE_START, BLOCK_RANGE_END, BLOCK_ENTRY_PC): New
+       macros for accessing ranges in struct block.
+       (make_blockranges): New declaration.
+       block.c (make_blockranges): New function.
+       * dwarf2read.c (dwarf2_record_block_ranges): Fill in BLOCK_RANGES
+       for block.
+       * symtab.h (find_pc_partial_function): Add new parameter `block'.
+       * blockframe.c (cache_pc_function_block): New static global.
+       (clear_pc_function_cache): Clear cache_pc_function_block.
+       (find_pc_partial_function): Move comment to symtab.h.  Add
+       support for non-contiguous blocks.
+       * cli/cli-cmds.c (block.h): Include.
+       (print_disassembly): Handle printing of non-contiguous blocks.
+       (disassemble_current_function): Likewise.
+       (disassemble_command): Likewise.
+
+       * ax-gdb.c (gen_var_ref): Use BLOCK_ENTRY_PC in place of
+       BLOCK_START.
+       * blockframe.c (get_pc_function_start): Likewise.
+       * compile/compile-c-symbols.c (convert_one_symbol): Likewise.
+       (gcc_symbol_address): Likewise.
+       * compile/compile-object-run.c (compile_object_run): Likewise.
+       * compile/compile.c (get_expr_block_and_pc): Likewise.
+       * dwarf2loc.c (dwarf2_find_location_expression): Likewise.
+       (func_addr_to_tail_call_list): Likewise.
+       * findvar.c (default_read_var_value): Likewise.
+       * inline-frame.c (inline_frame_this_id): Likewise.
+       (skip-inline_frames): Likewise.
+       * infcmd.c (until_next_command): Likewise.
+       * linespec.c (convert_linespec_to_sals): Likewise.
+       * parse.c (parse_exp_in_context_1): Likewise.
+       * printcmd.c (build_address_symbolic): likewise.
+       (info_address_command): Likewise.
+       symtab.c (find_function_start_sal): Likewise.
+       (skip_prologue_sal): Likewise.
+       (find_function_alias_target): Likewise.
+       (find_gnu_ifunc): Likewise.
+       * stack.c (find_frame_funname): Likewise.
+       * symtab.c (fixup_symbol_section): Likewise.
+       (find_function_start_sal): Likewise.
+       (skip_prologue_sal): Likewsie.
+       (find_function_alias_target): Likewise.
+       (find_gnu_ifunc): Likewise.
+       * tracepoint.c (info_scope_command): Likewise.
+       * value.c (value_fn_field): Likewise.
+
+2018-08-23  Xavier Roirand  <roirand@adacore.com>
+
+       * machoread.c (macho_symfile_read_all_oso): Remove uneeded
+       incrementation.
+
+2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * solib-svr4.c (read_program_headers_from_bfd): Return
+       gdb::optional<gdb::byte_vector>.
+       (svr4_exec_displacement): Adjust.
+
+2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * solib-svr4.c (read_program_header): Return
+       gdb::optional<gdb::byte_vector>, remove p_sect_size param.
+       (find_program_interpreter): Return
+       gdb::optional<gdb::byte_vector>.
+       (scan_dyntag_auxv): Adjust.
+       (enable_break): Adjust.
+       (svr4_exec_displacement): Adjust.
+
+2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * inf-child.h (inf_child_target) <terminal_save_inferior>: New.
+       * inf-child.c (inf_child_target::terminal_save_inferior): New.
+
+2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * guile/scm-string.c (gdbscm_scm_from_printf): Use
+       string_vprintf.
+       * guile/scm-utils.c (gdbscm_printf): Likewise.
+       * serial.c (serial_printf): Likewise.
+       * xml-support.c (gdb_xml_parser::vdebug): Likewise.
+
+2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
+
+       * stack.c (print_frame): Print frame architecture when printing on
+       an MI output.
+       * NEWS: Mention new "arch" attribute in frame output.
+
+2018-08-21  Alan Hayward  <alan.hayward@arm.com>
+
+       * arch/aarch64.h (aarch64_regnum): Update comment.
+
+2018-08-21  Alan Hayward  <alan.hayward@arm.com>
+
+       * NEWS: Add SVE to 8.2 section.
+
 2018-08-21  Pedro Alves  <palves@redhat.com>
 
        * guile/scm-utils.c (gdbscm_parse_function_args_1): New, factored
This page took 0.026267 seconds and 4 git commands to generate.