X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=972184dc997ba7eda7594a1c3365786ac54ce1fa;hb=3b20124b3d6df31b5bde0f6bcd718cc40de8d49b;hp=f1b68c6e6f2a95c4a17e169eb331c3461a0349b6;hpb=6a70eb7d9bf1646e7a7379eb8efdba30c2cb9c92;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f1b68c6e6f..972184dc99 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,892 @@ +2018-07-22 Tom Tromey + + * regformats/regdat.sh: Define xmltarget_${name} inside + #ifndef IN_PROCESS_AGENT. + +2018-07-22 Tom Tromey + + * value.c (value_fetch_lazy_bitfield): Remove unused variable. + +2018-07-22 Tom Tromey + + * symfile.c (reread_symbols): Notify iter, not objfile. + +2018-07-22 Tom Tromey + + * ravenscar-thread.c (ravenscar_thread_target::store_registers): + Use arch_ops. + (ravenscar_thread_target::prepare_to_store): Likewise. + +2018-07-22 Tom Tromey + + * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Remove + unused variable. Call value_fetch_lazy when needed. + * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer): + Remove unused variable. Call value_fetch_lazy when needed. + +2018-07-22 Tom Tromey + + * m32c-tdep.c (mark_dma): Return void. + (make_regs): Remove unused declarations. + +2018-07-22 Tom Tromey + + * guile/scm-cmd.c (gdbscm_dont_repeat): Call + cmdscm_get_valid_command_smob_arg_unsafe for effect. + * guile/scm-block.c (gdbscm_make_block_syms_iter): Call + bkscm_get_valid_block_smob_arg_unsafe for effect. + +2018-07-22 Tom Tromey + + * bfin-tdep.c (bfin_push_dummy_call): Use arg_type, not + value_type. + +2018-07-22 Tom Tromey + + * windows-nat.c (saved_context): Conditionally define. + * remote.c (remote_target::remote_btrace_maybe_reopen): + Conditionally declare "warned". + * inflow.c (sigquit_ours): Conditionally define. + (new_tty): Move "tty" declaration inside #if. + * guile/guile.c (guile_datadir): Conditionally define. + * charset.c (set_be_le_names): Move some declarations inside #if. + * btrace.c (parse_xml_btrace): Move "errcode" declaration inside + #if. + (parse_xml_btrace_conf): Likewise. + +2018-07-22 Tom Tromey + + * spu-tdep.c (spu_get_overlay_table): Remove unused variable. + +2018-07-22 Tom Tromey + + * guile/scm-value.c (gdbscm_value_call): Remove unused variables. + * guile/scm-math.c (vlscm_unop_gdbthrow, vlscm_binop_gdbthrow) + (vlscm_convert_typed_value_from_scheme): Remove unused variable. + * buildsym-legacy.c (get_macro_table): Remove unused variable. + * stack.c (frame_apply_level_command): Remove unused variable. + * tic6x-tdep.c (tic6x_push_dummy_call): Remove unused variable. + * sparc64-tdep.c (adi_examine_command): Remove unused variable. + * rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call): Remove + unused variable. + * nios2-tdep.c (nios2_push_dummy_call): Remove unused variable. + * mep-tdep.c (mep_push_dummy_call): Remove unused variable. + * ada-lang.c (ada_lookup_symbol_list_worker): Remove unused + variable. + * amd64-tdep.c (amd64_supply_xsave): Remove unused variable. + * arm-tdep.c (arm_record_data_proc_misc_ld_str): Remove unused + variable. + * breakpoint.c (check_no_tracepoint_commands, update_watchpoint): + Remove unused variable. + * cli/cli-script.c (recurse_read_control_structure): Remove unused + variable. + * common/tdesc.c (print_xml_feature::visit): Remove unused + variable. + * compile/compile-object-load.c (store_regs): Remove unused + variables. + * complaints.c (clear_complaints): Remove unused variable. + * corelow.c (core_target_open): Remove unused variable. + * fbsd-tdep.c (fbsd_core_info_proc_status): Remove unused + variable. + * guile/scm-frame.c (gdbscm_frame_read_var): Remove unused + variable. + * guile/scm-symtab.c (stscm_print_sal_smob): Remove unused + variable. + * guile/scm-type.c (gdbscm_field_baseclass_p): Remove unused + variable. + * guile/scm-utils.c (gdbscm_parse_function_args): Remove unused + variable. + * hppa-tdep.c (hppa_stub_frame_unwind_cache): Remove unused + variable. + * ia64-tdep.c (examine_prologue): Remove unused variable. + * infcall.c (run_inferior_call): Remove unused variable. + * inferior.c (exit_inferior): Remove unused variable. + * infrun.c (infrun_thread_ptid_changed): Remove unused variable. + * linespec.c (decode_line_2): Remove unused variable. + * linux-nat.c (super_close): Remove. + * linux-tdep.c (linux_info_proc): Remove unused variable. + * mi/mi-main.c (mi_execute_command): Remove unused variable. + * microblaze-linux-tdep.c (microblaze_linux_sigtramp_cache): + Remove unused variable. + * parse.c (find_minsym_type_and_address): Remove unused variable. + * printcmd.c (info_symbol_command, printf_floating): Remove unused + variable. + * python/py-breakpoint.c (bppy_set_commands): Remove unused + variable. + * python/py-unwind.c (unwind_infopy_dealloc): Remove unused + variables. + * record-btrace.c (record_btrace_target::store_registers): Remove + unused variable. + (cmd_show_record_btrace_cpu): Remove unused variable. + * riscv-tdep.c (riscv_register_reggroup_p) + (riscv_push_dummy_call, riscv_return_value): Remove unused + variable. + * rust-exp.y (literal): Remove unused variable. + * rust-lang.c (rust_evaluate_subexp) : Remove + unused variable. + : Likewise. + * s390-linux-tdep.c (s390_linux_init_abi_31) + (s390_linux_init_abi_64): Remove unused variable. + * ser-ming2.c (ser_windows_read_prim, pipe_select_thread) + (file_select_thread, net_windows_open, _initialize_ser_windows): + Remove unused variables. + * symtab.c (find_pc_sect_line): Remove unused variable. + * target-memory.c (compute_garbled_blocks): Remove unused + variable. + (target_write_memory_blocks): Remove unused variable. + * target.c (target_stack::unpush): Remove unused variables. + * tracepoint.c (start_tracing, all_tracepoint_actions) + (merge_uploaded_trace_state_variables) + (print_one_static_tracepoint_marker): Remove unused variable. + * unittests/basic_string_view/element_access/char/1.cc (test01): + Remove unused variable. + * windows-nat.c (windows_continue, windows_add_all_dlls) + (do_initial_windows_stuff, windows_nat_target::create_inferior): + Remove unused variables. + +2018-07-21 Simon Marchi + + * arm-tdep.c (arm_gdbarch_init): Declare attr_arch and + attr_profile in HAVE_ELF. + * rs6000-tdep.c (bfd_uses_spe_extensions): Declare vector_abi in + HAVE_ELF. + +2018-07-20 Simon Marchi + + * frame.c (frame_register_unwind): Change parameter name. + (frame_unwind_register): Likewise. + (frame_unwind_register_value): Likewise. + (frame_unwind_register_signed): Likewise. + (frame_unwind_register_unsigned): Likewise. + * frame.h (frame_register_unwind): Likewise. + (frame_unwind_register): Likewise. + (frame_unwind_register_value): Likewise. + (frame_unwind_register_signed): Likewise. + (frame_unwind_register_unsigned): Likewise. + (frame_unwind_arch): Likewise. + +2018-07-20 Maciej W. Rozycki + + * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV + ISA maintenance. + +2018-07-20 Maciej W. Rozycki + + * mips-linux-nat.c (mips_linux_nat_target::read_description): + Call `get_ptrace_pid' rather than extracting the ptrace PID by + hand. + +2018-07-20 Keith Seitz + + * buildsym.h (struct buildsym_compunit) : Add "m_" prefix. + Update all uses. + * buildsym.c: Update all uses. + +2018-07-20 Tom Tromey + + * buildsym-legacy.h (record_line): Don't use record_line_ftype. + * buildsym.h (record_line_ftype): Remove typedef. + +2018-07-20 Tom Tromey + + * buildsym-legacy.h (augment_type_symtab): Don't declare. + (end_expandable_symtab): Likewise. + (end_symtab_get_static_block): Likewise. + (end_symtab_from_static_block): Likewise. + * buildsym-legacy.c (augment_type_symtab): Remove. + (end_expandable_symtab): Remove. + (end_symtab_get_static_block): Remove. + (end_symtab_from_static_block): Remove. + +2018-07-20 Tom Tromey + + * dwarf2read.c: Include buildsym.h. + (struct dwarf2_cu) : New method. + (fixup_go_packaging): Update. + (process_full_comp_unit, process_full_type_unit): Update. Don't + use scoped_free_pendings. + (using_directives): Add "cu" parameter, remove "language". + (read_import_statement, setup_type_unit_groups, ) + (read_func_scope, read_lexical_block_scope) + (dwarf2_record_block_ranges, read_namespace): Update. + (lnp_state_machine::lnp_state_machine): Add cu parameter. + (lnp_state_machine::handle_end_sequence): Update. + (class lnp_state_machine) : New member. + : Remove. + : New member. + (lnp_state_machine::handle_set_file): Update. + (noop_record_line): Remove. + (dwarf_record_line_p): Add cu parameter. + (dwarf_record_line_1, dwarf_finish_line): Likewise. + (lnp_state_machine::record_line) + (lnp_state_machine::lnp_state_machine) + (lnp_state_machine::check_line_address, dwarf_decode_lines_1) + (dwarf_decode_lines): Update. + (dwarf2_start_subfile): Add cu parameter. + (dwarf2_start_symtab, new_symbol): Update. + (macro_start_file, dwarf_decode_macro_bytes): Add cu parameter. + Remove dwarf2_per_objfile parameter. + (dwarf_decode_macros): Update. + +2018-07-20 Tom Tromey + + * stabsread.c (define_symbol): Update. + * buildsym-legacy.h (get_buildsym_compunit): Declare. + * dwarf2read.c (new_symbol): Update. + * cp-support.h (cp_scan_for_anonymous_namespaces): Update. + * cp-namespace.c: Include buildsym.h. + (cp_scan_for_anonymous_namespaces): Add "compunit" parameter. + * buildsym-legacy.c (get_buildsym_compunit): New function. + +2018-07-20 Tom Tromey + + * xcoffread.c: Include buildsym-legacy.h. + * windows-nat.c: Include buildsym-legacy.h. + * stabsread.c: Include buildsym-legacy.h. + * mdebugread.c: Include buildsym-legacy.h. + * buildsym-legacy.h: New file. + * buildsym-legacy.c: New file, from buildsym.c. + * go32-nat.c: Include buildsym-legacy.h. + * dwarf2read.c: Include buildsym-legacy.h. + * dbxread.c: Include buildsym-legacy.h. + * cp-namespace.c: Include buildsym-legacy.h. + * coffread.c: Include buildsym-legacy.h. + * buildsym.h: Move some contents to buildsym-legacy.h. + * buildsym.c: Include buildsym-legacy.h. Move many functions to + buildsym-legacy.c. + * Makefile.in (HFILES_NO_SRCDIR): Add buildsym-legacy.h. + +2018-07-20 Tom Tromey + + * buildsym.h (struct buildsym_compunit): Move from buildsym.c. + * buildsym.c (struct buildsym_compunit): Move to buildsym.h. + (buildsym_compunit::buildsym_compunit) + (buildsym_compunit::~buildsym_compunit) + (buildsym_compunit::get_macro_table): Define. + +2018-07-20 Tom Tromey + + * buildsym.c (reset_symtab_globals): Remove. + (buildsym_compunit::end_symtab_from_static_block): Update. + (buildsym_compunit::augment_type_symtab): Update. + (end_symtab_from_static_block): Call free_buildsym_compunit. + (augment_type_symtab, end_symtab, end_expandable_symtab): + Likewise. + +2018-07-20 Tom Tromey + + * arch-utils.c: Do not include buildsym.h. + * mipsread.c: Do not include buildsym.h. + * machoread.c: Do not include buildsym.h. + * elfread.c: Do not include buildsym.h. + +2018-07-20 Tom Tromey + + * buildsym.c (buildsym_compunit::buildsym_compunit): Do more + initialization. + (buildsym_compunit): Add new constructor. + (struct buildsym_compunit) : + New public methods. + : New + private methods. + Update all users. + +2018-05-22 Tom Tromey + + * buildsym.c (record_pending_block): Move earlier. Remove objfile + parameter. + (finish_block_internal): Update. + +2018-07-20 Tom Tromey + + * buildsym.c (record_pending_block): Move earlier. Remove objfile + parameter. + (finish_block_internal): Update. + +2018-07-20 Tom Tromey + + * buildsym.h (EXTERN): Don't define or undef. + * buildsym.c (EXTERN): Don't define. + +2018-07-20 Tom Tromey + + * buildsym.c: Remove TODO comment. + +2018-07-20 Tom Tromey + + * coffread.c (coff_symtab_read): Update. + * xcoffread.c (xcoff_psymtab_to_symtab_1): Update. + (xcoff_new_init): Update. + * mipsread.c (mipscoff_new_init): Update. + * mdebugread.c (mdebug_build_psymtabs): Update. + * elfread.c (elf_new_init): Update. + * dwarf2read.c (process_full_comp_unit, process_full_type_unit): + Update. + * dbxread.c (dbx_new_init, dbx_psymtab_to_symtab_1) + (coffstab_build_psymtabs, elfstab_build_psymtabs) + (stabsect_build_psymtabs): Update. + * buildsym.h (buildsym_init): Don't declare. + * buildsym.c: Update comment. + (prepare_for_building): Remove. + (start_symtab, restart_symtab): Update. + (reset_symtab_globals): Update comment. + (buildsym_init): Remove. + +2018-07-20 Tom Tromey + + * xcoffread.c (read_xcoff_symtab, process_xcoff_symbol): Update. + * stabsread.c (patch_block_stabs, define_symbol, read_type) + (read_enum_type, common_block_start, common_block_end) + (cleanup_undefined_types_1, finish_global_stabs): Update. + * mdebugread.c (psymtab_to_symtab_1): Update. + * dwarf2read.c (fixup_go_packaging, read_func_scope) + (read_lexical_block_scope, new_symbol): Update. + * dbxread.c (process_one_symbol): Update. + * coffread.c (coff_symtab_read, process_coff_symbol) + (coff_read_enum_type): Update. + * buildsym.h (file_symbols, global_symbols, local_symbols): Don't + declare. + (get_local_symbols, get_file_symbols, get_global_symbols): New + functions. + * buildsym.c (~buildsym_compunit): Clean up m_file_symbols and + m_global_symbols. + : New members. + (~scoped_free_pendings): Update. + (finish_block, prepare_for_building, reset_symtab_globals) + (end_symtab_get_static_block, end_symtab_with_blockvector) + (augment_type_symtab, push_context): Update. + (get_local_symbols, get_file_symbols, get_global_symbols): New + functions. + (buildsym_init): Update. + +2018-07-20 Tom Tromey + + * dwarf2read.c (process_full_comp_unit): Do not set list_in_scope. + (process_full_type_unit): Likewise. + (dwarf2_start_symtab): Set list_in_scope. + +2018-07-20 Tom Tromey + + * dwarf2read.c (process_psymtab_comp_unit_reader) + (build_type_psymtabs_reader): Do not set list_in_scope. + +2018-07-20 Tom Tromey + + * buildsym.c (free_pendings): Remove. + (add_symbol_to_list, scoped_free_pendings) + (finish_block_internal, buildsym_init): Update. + +2018-07-20 Tom Tromey + + * xcoffread.c (read_xcoff_symtab): Update. + * dwarf2read.c (read_func_scope, read_lexical_block_scope): + Update. + * dbxread.c (process_one_symbol): Update. + * coffread.c (coff_symtab_read): Update. + * buildsym.h (finish_block): Update. + * buildsym.c (finish_block): Remove "listhead" argument. + (end_symtab_get_static_block): Update. + +2018-07-20 Tom Tromey + + * buildsym.h (class scoped_free_pendings): Remove constructor. + * buildsym.c (struct buildsym_compunit) : New + method. + : New members. + (pending_block_obstack, pending_blocks): Remove. + (scoped_free_pendings::scoped_free_pendings): Default. + (~scoped_free_pendings): Update. + (free_pending_blocks): Remove. + (finish_block_internal, record_pending_block, make_blockvector) + (end_symtab_get_static_block, augment_type_symtab, push_context) + (buildsym_init): Update. + +2018-07-20 Tom Tromey + + * buildsym.c (struct buildsym_compunit) : New + members. + (pending_addrmap, pending_addrmap_obstack) + (pending_addrmap_interesting): Remove. + (scoped_free_pendings, record_block_range, make_blockvector) + (prepare_for_building, reset_symtab_globals, buildsym_init): + Update. + +2018-07-20 Tom Tromey + + * xcoffread.c (process_linenos): Update. + * stabsread.c (define_symbol, read_type, read_enum_type): Update. + * mdebugread.c (psymtab_to_symtab_1): Update. + * dwarf2read.c (setup_type_unit_groups) + (lnp_state_machine::handle_set_file, dwarf_record_line_p) + (lnp_state_machine::record_line, dwarf_decode_lines): Update. + * dbxread.c (process_one_symbol): Update. + * coffread.c (coff_symtab_read, enter_linenos) + (process_coff_symbol): Update. + * buildsym.h (current_subfile): Don't declare. + (get_current_subfile): Declare. + * buildsym.c (struct buildsym_compunit) : New + member. + (start_subfile, free_buildsym_compunit, push_subfile) + (prepare_for_building, start_symtab): Update. + (get_current_subfile): New function. + +2018-07-20 Tom Tromey + + * coffread.c (coff_symtab_read): Update. + * xcoffread.c (read_xcoff_symtab): Update. + * dwarf2read.c (new_symbol): Update. + (read_func_scope, read_lexical_block_scope): Update. + * dbxread.c (process_one_symbol): Update. + * buildsym.h (context_stack, context_stack_depth): Don't declare. + (outermost_context_p): Remove macro. + (outermost_context_p, get_current_context_stack) + (get_context_stack_depth): Declare. + (pop_context): Return struct context_stack. + * buildsym.c (struct buildsym_compunit) + + * rust-exp.y: Now a pure parser. Update all rules. + (%union): Move earlier. + (current_parser, work_obstack): Remove globals. + (rust_parser, ~rust_parser): Update. + (class rust_parser) : New methods. + (rust_parse): Update. + (rustyyerror, rustyylex): Add parser parameter. + (rust_lex_test_one, rust_lex_int_test, rust_lex_exception_test) + (rust_lex_stringish_test, rust_lex_test_sequence) + (rust_lex_test_trailing_dot, rust_lex_test_completion) + (rust_lex_test_push_back, rust_lex_tests): Update. + +2018-07-19 Pedro Alves + + * guile/guile-internal.h (gdbscm_scm_to_c_string): Now returns a + gdb::unique_xmalloc_ptr. + * guile/scm-breakpoint.c (gdbscm_set_breakpoint_condition_x): + Adjust to use dbscm_wrap and gdb::unique_xmalloc_ptr. + * guile/scm-exception.c (gdbscm_exception_message_to_string): Use + copy-initialization. + * guile/scm-pretty-print.c (ppscm_print_children): Use + gdb::unique_xmalloc_ptr instead of cleanups. + (gdbscm_apply_val_pretty_printer): Remove cleanups. + * guile/scm-string.c (gdbscm_scm_to_c_string): Now returns a + gdb::unique_xmalloc_ptr. + * guile/scm-type.c (gdbscm_type_field, gdbscm_type_has_field_p): + Adjust to use gdb::unique_xmalloc_ptr. + * guile/scm-utils.c (extract_arg): Adjust. + * guile/scm-value.c (gdbscm_value_field): Adjust to use + gdb::unique_xmalloc_ptr instead of a cleanup. + +2018-07-19 Tom Tromey + + * utils.c (do_value_free_to_mark) + (make_cleanup_value_free_to_mark): Remove. + * utils.h (make_cleanup_value_free_to_mark): Remove. + +2018-07-19 Pedro Alves + + * guile/guile-internal.h (gdbscm_wrap): Really make 'args' a + forwarding reference. + +2018-07-18 Pedro Alves + + * guile/guile.c (gdbscm_execute_gdb_command): Adjust to use + gdbscm_wrap. Use gdb::unique_xmalloc_ptr instead of a + cleanup. + +2018-07-18 Pedro Alves + + * guile/guile-internal.h: Add comment about mixing GDB and Scheme + exceptions. + (GDBSCM_HANDLE_GDB_EXCEPTION_WITH_CLEANUPS): Delete. + (gdbscm_wrap): New. + * guile/scm-frame.c (gdbscm_frame_read_register): Use xfree + directly instead of a cleanup. + * guile/scm-math.c (vlscm_unop_gdbthrow): New, factored out from ... + (vlscm_unop): ... this. Reimplement using gdbscm_wrap. + (vlscm_binop_gdbthrow): New, factored out from ... + (vlscm_binop): ... this. Reimplement using gdbscm_wrap. + (vlscm_rich_compare): Use gdbscm_wrap. + * guile/scm-symbol.c (gdbscm_lookup_symbol): Use xfree directly + instead of a cleanup. + (gdbscm_lookup_global_symbol): Use xfree directly instead of a + cleanup. + * guile/scm-type.c (gdbscm_type_field, gdbscm_type_has_field_p): + Use xfree directly instead of a cleanup. + * guile/scm-value.c (gdbscm_make_value, gdbscm_make_lazy_value): + Adjust to use gdbscm_wrap and scoped_value_mark. + (gdbscm_value_optimized_out_p): Adjust to use gdbscm_wrap. + (gdbscm_value_address, gdbscm_value_dereference) + (gdbscm_value_referenced_value): Adjust to use gdbscm_wrap and + scoped_value_mark. + (gdbscm_value_dynamic_type): Use scoped_value_mark. + (vlscm_do_cast, gdbscm_value_field): Adjust to use gdbscm_wrap and + scoped_value_mark. + (gdbscm_value_subscript, gdbscm_value_call): Adjust to use + gdbscm_wrap and scoped_value_mark. + (gdbscm_value_to_string): Use xfree directly instead of a + cleanup. Move 'buffer' unique_ptr to TRY scope. + (gdbscm_value_to_lazy_string): Use xfree directly instead of a + cleanup. Move 'buffer' unique_ptr to TRY scope. Use + scoped_value_mark. + (gdbscm_value_fetch_lazy_x): Use gdbscm_wrap. + (gdbscm_parse_and_eval): Adjust to use gdbscm_wrap and + scoped_value_mark. + (gdbscm_history_ref, gdbscm_history_append_x): Adjust to use + gdbscm_wrap. + +2018-07-18 Tom de Vries + + * findvar.c (default_read_var_value): Also resolve dynamic type for + LOC_OPTIMIZED_OUT vars. + +2018-07-18 Maciej W. Rozycki + + * mips-tdep.c (micromips_next_pc): Add SYSCALL instruction + decoding. + +2018-07-17 Tom Tromey + + * guile/scm-param.c (pascm_set_func, pascm_show_func) + (compute_enum_list, pascm_set_param_value_x) + (gdbscm_parameter_value): Update. + * guile/guile-internal.h (gdbscm_scm_to_string): Update. + (gdbscm_scm_to_host_string): Update. + * guile/scm-math.c (vlscm_convert_typed_value_from_scheme): + Update. + * guile/scm-cmd.c (cmdscm_add_completion): Update. + * guile/scm-pretty-print.c (ppscm_print_string_repr): Update. + * guile/scm-string.c (gdbscm_scm_to_string): Return + unique_xmalloc_ptr. + (gdbscm_scm_to_host_string): Likewise. + +2018-07-17 Tom Tromey + + * guile/guile.c (gdbscm_eval_from_control_command): Update. + * guile/guile-internal.h (gdbscm_safe_eval_string): Update. + * guile/scm-objfile.c (gdbscm_execute_objfile_script): Update. + * guile/scm-safe-call.c (gdbscm_safe_eval_string): Return + unique_xmalloc_ptr. + +2018-07-17 Tom Tromey + + * guile/scm-param.c (pascm_signal_setshow_error): Update. + * guile/guile-internal.h (gdbscm_exception_message_to_string): + Update. + * guile/scm-cmd.c (cmdscm_function): Update. + * guile/scm-pretty-print.c + (ppscm_print_exception_unless_memory_error): Update. + * guile/scm-exception.c (gdbscm_exception_message_to_string): + Return unique_xmalloc_ptr. + +2018-07-17 Tom Tromey + + * guile/scm-pretty-print.c (ppscm_make_pp_type_error_exception): + Use string_printf. + +2018-07-17 Jim Wilson + + * riscv-tdep.c (riscv_has_feature): Delete comment that refers to + set_gdbarch_decr_pc_after_break. Call riscv_read_misa_reg always. + (riscv_gdbarch_init): Delete local has_compressed_isa. Delete now + unecessary braces after EF_RISCV_RVC test. Delete call to + set_gdbarch_decr_pc_after_break. + + * riscv-tdep.h (DECLARE_CSR): Use RISCV_FIRST_CSR_REGNUM instead of + RISCV_LAST_FP_REGNUM + 1. + (RSICV_CSR_LEGACY_MISA_REGNUM): Add RISCV_FIRST_CSR_REGNUM. + +2018-07-17 Tom Tromey + + * configure.ac: Remove --disable-gdbcli. + * configure: Rebuild. + * Makefile.in (SUBDIR_CLI_DEPS, SUBDIR_CLI_LDFLAGS) + (SUBDIR_CLI_CFLAGS): Remove. + (SFILES): Use SUBDIR_CLI_SRCS. + (COMMON_OBS): Use SUBDIR_CLI_OBS. + +2018-07-17 Tom Tromey + + PR gdb/18624: + * coffread.c (coff_symtab_read): Use scoped_free_pendings. + +2018-07-16 Jim Wilson + + * riscv-tdep.c (riscv_gdbarch_init): Call gdbarch_init_osabi. + +2018-07-16 Simon Marchi + + * ia64-libunwind-tdep.c (libunwind_frame_cache): Remove unused + variable. + (libunwind_frame_sniffer): Likewise. + (libunwind_frame_prev_register): Likewise. + (libunwind_sigtramp_frame_sniffer): Likewise. + * ia64-tdep.c (ia64_access_reg): Likewise. + (ia64_access_rse_reg): Likewise. + (ia64_libunwind_sigtramp_frame_this_id): Likewise. + * ia64-vms-tdep.c (ia64_vms_find_proc_info_x): Likewise. + +2018-07-16 Simon Marchi + + * ia64-vms-tdep.c (ia64_vms_find_proc_info_x): Add cast. + +2018-07-16 Simon Marchi + + * remote-sim.c (gdbsim_target::close, + gdbsim_target::mourn_inferior): Remove unused variables. + +2018-07-16 Simon Marchi + + * ia64-tdep.c (ktab_buf): New global. + (getunwind_table): Return a gdb::optional. + (get_kernel_table): Adjust. + +2018-07-16 Tom Tromey + + * xcoffread.c (read_xcoff_symtab): Use outermost_context_p. + * dwarf2read.c (using_directives, new_symbol): Use + outermost_context_p. + * dbxread.c (process_one_symbol): Use outermost_context_p. + * coffread.c (coff_symtab_read): Use outermost_context_p. + +2018-07-16 Tom Tromey + + * dwarf2read.c (using_directives, read_func_scope) + (read_lexical_block_scope): Update. + * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. + * buildsym.h (local_using_directives, global_using_directives): + Don't declare. + (get_local_using_directives, set_local_using_directives) + (get_global_using_directives): Declare. + * buildsym.c (struct buildsym_compunit) : New members. + (finish_block_internal, prepare_for_building) + (reset_symtab_globals, end_symtab_get_static_block) + (push_context): Update. + (get_local_using_directives, set_local_using_directives) + (get_global_using_directives): New functions. + (buildsym_init): Update. + +2018-07-16 Tom Tromey + + * xcoffread.c (xcoff_initial_scan): Don't call + free_pending_blocks. + * dbxread.c (dbx_symfile_read): Don't call free_pending_blocks. + * buildsym.h (class scoped_free_pendings): Add constructor. + (free_pending_blocks): Don't declare. + * buildsym.c (scoped_free_pendings::scoped_free_pendings): New. + (free_pending_blocks): Now static. + +2018-07-16 Tom Tromey + + * buildsym.h (push_subfile, pop_subfile): Update declarations. + * buildsym.c (struct buildsym_compunit) : New + member. + (struct subfile_stack): Remove. + (subfile_stack): Remove. + (push_subfile, pop_subfile, buildsym_init): Update. + +2018-07-16 Tom Tromey + + * buildsym.c (push_subfile): Use gdb_assert. + (pop_subfile): Use gdb_assert. + +2018-07-16 Tom Tromey + + * buildsym.h (merge_symbol_lists): Remove. + * buildsym.c (merge_symbol_lists): Remove. + +2018-07-16 Tom Tromey + + * stabsread.c (scan_file_globals): Update comment. + * stabsread.h (scan_file_globals): Move from buildsym.h. + * buildsym.h (scan_file_globals): Move to stabsread.h. + +2018-07-16 Tom Tromey + + * xcoffread.c (xcoff_new_init): Update. + * mipsread.c (mipscoff_new_init): Update. + * mdebugread.c (mdebug_build_psymtabs): Update. + * elfread.c (elf_new_init): Update. + * dbxread.c (dbx_new_init, coffstab_build_psymtabs) + (elfstab_build_psymtabs, stabsect_build_psymtabs): Update. + * buildsym.h (buildsym_new_init): Don't declare. + * buildsym.c (buildsym_new_init): Remove. + +2018-07-16 Tom Tromey + + * stabsread.h (within_function): Move from buildsym.h. + * stabsread.c (start_stabs): Clear within_function. + * coffread.c (coff_start_symtab): Clear within_function. + * buildsym.h (within_function): Move to stabsread.h. + * buildsym.c (prepare_for_building): Update. + +2018-07-16 Tom Tromey + + * stabsread.h (processing_gcc_compilation): Move from buildsym.h. + * dwarf2read.c (dwarf2_start_symtab): Don't set + processing_gcc_compilation. + * buildsym.h (processing_gcc_compilation): Move to stabsread.h. + +2018-07-16 Tom Tromey + + * stabsread.h (HASHSIZE, hashname, symnum, next_symbol_text) + (next_symbol_text_func): Move from buildsym.h. + * stabsread.c (hashname): Move from buildsym.c. + * buildsym.h (HASHSIZE, symnum, next_symbol_text) + (next_symbol_text_func, hashname): Move to stabsread.h. + * buildsym.c: Don't include bcache.h + (hashname): Move to stasbread.c. + +2018-07-16 Tom Tromey + + * buildsym.h (context_stack_size): Don't declare. + * buildsym.c (context_stack_size): New global. + +2018-07-16 Tom Tromey + + * dbxread.c (processing_acc_compilation): New global. + * buildsym.h (processing_acc_compilation): Don't declare. + +2018-07-16 Tom Tromey + + * xcoffread.c (aix_process_linenos, complete_symtab): Update. + * dbxread.c (read_ofile_symtab): Update. + * coffread.c (coff_start_symtab, coff_end_symtab): Update. + * buildsym.h (last_source_start_addr): Remove. + (set_last_source_start_addr, get_last_source_start_addr): + Declare. + * buildsym.c (buildsym_compunit::buildsym_compunit): Add last_addr + parameter. + (struct buildsym_compunit) : New + member. + (prepare_for_building): Remove start_addr parameter. + (start_symtab, restart_symtab, end_symtab_get_static_block) + (end_symtab_with_blockvector): Update. + (set_last_source_start_addr, get_last_source_start_addr): New + functions. + +2018-07-16 Tom Tromey + + * buildsym.c (struct buildsym_compunit) : New + member. + (have_line_numbers): Remove. + (record_line, prepare_for_building, end_symtab_get_static_block) + (augment_type_symtab): Update. + +2018-07-16 Tom Tromey + + * buildsym.c (~buildsym_compunit): Free the macro table. + (struct buildsym_compunit) : New + methods. + : New member. + (pending_macros): Remove. + (~scoped_free_pendings, get_macro_table, prepare_for_building) + (reset_symtab_globals, end_symtab_get_static_block) + (end_symtab_with_blockvector, augment_type_symtab) + (buildsym_init): Update. + +2018-07-16 Tom Tromey + + * buildsym.c (buildsym_compunit::buildsym_compunit): Add name + parameter. + (buildsym_compunit::set_last_source_file): New method. + : New member. + (prepare_for_building): Remove "name" parameter. + (start_symtab, restart_symtab, reset_symtab_globals): Update. + (last_source_file): Remove. + (set_last_source_file, get_last_source_file): Update. + +2018-07-16 Tom Tromey + + * buildsym.c (prepare_for_building): Add assert. + +2018-07-16 Tom Tromey + + * buildsym.c (~buildsym_compunit): Update. + (struct buildsym_compunit) : Now a unique_xmalloc_ptr. + (start_subfile, patch_subfile_names) + (end_symtab_with_blockvector): Update. + +2018-07-16 Tom Tromey + + * buildsym.c (struct buildsym_compunit): Add constructor, + destructor, initializers. + (start_buildsym_compunit): Remove. + (free_buildsym_compunit): Use "delete". + (start_symtab, restart_symtab): Use "new". + +2018-07-13 Simon Marchi + + * symfile.c (set_objfile_default_section_offset): Remove struct + keyword. + +2018-07-14 Stafford Horne + + * (Responsible Maintainers): Add myself as or1k maintainer. + +2018-07-13 Tom Tromey + + * symfile.c (set_objfile_default_section_offset): Use extra braces + around initializer. + +2018-07-13 Andreas Arnez + + * s390-tdep.c (s390_displaced_step_fixup): Adjust PC for a + non-branching basr. + +2018-07-12 Philippe Waroquiers + + * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add + unittests/cli-utils-selftests.c + * unittests/cli-utils-selftests.c: New file. + +2018-07-12 Philippe Waroquiers + + * NEWS: Mention new commands. Mention change to 'thread apply'. + +2018-07-12 Philippe Waroquiers + + * thread.c (thr_try_catch_cmd): New function. + (thread_apply_all_command): Handle qcs flags. + (thread_apply_command): Handle qcs flags. + (taas_command): New function. + (tfaas_command): New function. + (_initialize_thread): Update to setup the new commands 'taas + and 'tfaas'. Change doc string for 'thread apply'. + 2018-07-12 Philippe Waroquiers * stack.c: (trailing_outermost_frame): New function, mostly @@ -170,10 +1059,11 @@ 2018-07-07 Simon Marchi - * ia64-tdep.c (get_reg_name, get_fpreg_name, get_saveloc_name, - is_signal_frame_name, step_name, init_remote_name, - create_addr_space_name, destroy_addr_space_name, - search_unwind_table_name, find_dyn_list_name): Constify. + * ia64-libunwind-tdep.c (get_reg_name, get_fpreg_name, + get_saveloc_name, is_signal_frame_name, step_name, + init_remote_name, create_addr_space_name, + destroy_addr_space_name, search_unwind_table_name, + find_dyn_list_name): Constify. 2018-07-05 Simon Marchi