X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=4820ebfbf479cf9c049d5565ef6cdc640962525f;hb=353ea2d106a51cfd1680f7d351f35eb8f69c9248;hp=d50a03478edd1be11adc329e51cef4c7e26279cd;hpb=41077b6625d16cc6c0c4b404a177a8850300b8a0;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d50a03478e..4820ebfbf4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,877 @@ +2019-05-03 Eli Zaretskii + + * common/common-defs.h [__MINGW32__ || __CYGWIN__]: Define + _WIN32_WINNT to the XP level, unless already defined to a higher + level. + + * unittests/parse-connection-spec-selftests.c: + * ser-tcp.c: + * common/netstuff.c [USE_WIN32API]: Remove the _WIN32_WINNT + override. + + * symfile.c (find_separate_debug_file): Remove colon from the + drive spec of DOS/Windows file names of the target, so that the + file name produced from DEBUGDIR and the target's directory will + be valid on DOS/Windows systems. + +2019-05-02 Andrew Burgess + + * rust-lang.c (val_print_struct): Handle printing structures + containing strings. + +2019-05-02 Tom Tromey + + * valarith.c (_initialize_valarith): Remove. + +2019-05-01 Tom Tromey + + * ada-lang.c (ada_value_primitive_field): Treat more fields as + bitfields. + +2019-05-01 Tom Tromey + + * ada-lang.c (ada_value_assign): Correctly compute starting offset + for big-endian copies. + +2019-04-30 Ali Tamur + * gdb/dwarf2read.c (read_3_bytes): New declaration. + (read_attribute_value): Added DW_FORM_strx1-4 cases. + (read_3_bytes): New function. + +2019-04-30 Joel Brobecker + + * windows-nat.c (main_thread_id): Delete. + (handle_output_debug_string): Replace main_thread_id by + current_event.dwThreadId. + (fake_create_process): Likewise. + (get_windows_debug_event) : + Do not set main_thread_id. + : Replace main_thread_id by + current_event.dwThreadId. + : Likewise. + +2019-04-30 Joel Brobecker + + * windows-nat.c (get_windows_debug_event) : + Use current_event.dwThreadId instead of main_thread_id. + +2019-04-30 Tom Tromey + + * ada-lang.c (ada_lookup_simple_minsyms): New function. + (create_excep_cond_exprs): Iterate over program spaces. + (ada_exception_catchpoint_cond_string): Examine all minimal + symbols for exception types. + +2019-04-30 Tom Tromey + + PR c++/24470: + * dwarf2read.c (process_structure_scope): Handle case where type + has template parameters but no symbol was created. + +2019-04-30 Andrew Burgess + Chris January + + * f-typeprint.c (f_type_print_base): Print 'allocatable' type + qualifier. + * gdbtypes.h (TYPE_IS_ALLOCATABLE): Define. + +2019-04-30 Andrew Burgess + + * f-typeprint.c (f_print_type): Update rules for printing + whitespace. + (f_type_print_varspec_suffix): Likewise. + +2019-04-30 Andrew Burgess + Chris January + + * f-typeprint.c (f_type_print_varspec_suffix): Handle printing + function arguments. + +2019-04-30 Andrew Burgess + + * f-lang.c (build_fortran_types): Change name of void type to + lower case. + * f-typeprint.c (f_type_print_base): Print the name of the void + type, rather than a fixed string. + * f-valprint.c (f_decorations): Use lower case void string. + +2019-04-30 Andrew Burgess + Chris January + + * dwarf2read.c (dwarf2_init_complex_target_type): Use different + types for Fortran. + +2019-04-30 Andrew Burgess + Chris January + David Lecomber + + * f-exp.y (BINOP_INTRINSIC): New token. + (exp): New parser rule handling BINOP_INTRINSIC. + (f77_keywords): Add new builtin procedures. + * f-lang.c (evaluate_subexp_f): Handle BINOP_MOD, UNOP_FORTRAN_CEILING, + UNOP_FORTRAN_FLOOR, BINOP_FORTRAN_MODULO, BINOP_FORTRAN_CMPLX. + (operator_length_f): Handle UNOP_FORTRAN_CEILING, + UNOP_FORTRAN_FLOOR, BINOP_FORTRAN_MODULO, BINOP_FORTRAN_CMPLX. + (print_unop_subexp_f): New function. + (print_binop_subexp_f): New function. + (print_subexp_f): Handle UNOP_FORTRAN_CEILING, UNOP_FORTRAN_FLOOR, + BINOP_FORTRAN_MODULO, BINOP_FORTRAN_CMPLX. + (dump_subexp_body_f): Likewise. + (operator_check_f): Likewise. + * fortran-operator.def: Add UNOP_FORTRAN_CEILING, UNOP_FORTRAN_FLOOR, + BINOP_FORTRAN_MODULO, BINOP_FORTRAN_CMPLX + +2019-04-30 Andrew Burgess + + * gdb/expprint.c (dump_subexp_body_standard): Remove use of + UNOP_KIND. + * gdb/expression.h (exp_opcode): Include 'fortran-operator.def'. + * gdb/f-exp.y (exp): Rename UNOP_KIND to UNOP_FORTRAN_KIND. + * gdb/f-lang.c (evaluate_subexp_f): Likewise. + (operator_length_f): New fuction. + (print_subexp_f): New function. + (op_name_f): New function. + (dump_subexp_body_f): New function. + (operator_check_f): New function. + (exp_descriptor_f): Replace standard expression handling functions + with new functions. + * gdb/fortran-operator.def: New file. + * gdb/parse.c (operator_length_standard): Remove use of UNOP_KIND. + * gdb/std-operator.def: Remove UNOP_KIND. + +2019-04-30 Andrew Burgess + + * std-operator.def: Remove unbalanced, stray double quote + character. + +2019-04-29 Andrew Burgess + Chris January + Daniel Everett + Nick Forrington + Richard Bunt + + * cp-valprint.c (cp_print_value_fields): Allow an additional level + of depth when printing anonymous structs or unions. + * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer): + Don't print either the top-level value, or the children if the + max-depth is exceeded. + (ppscm_print_children): When printing the key of a map, allow one + extra level of depth. + * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Don't + print either the top-level value, or the children if the max-depth + is exceeded. + (print_children): When printing the key of a map, allow one extra + level of depth. + * python/py-value.c (valpy_format_string): Add max_depth keyword. + * valprint.c: (PRINT_MAX_DEPTH_DEFAULT): Define. + (user_print_options): Initialise max_depth field. + (val_print_scalar_or_string_type_p): New function. + (val_print): Check to see if the max depth has been reached. + (val_print_check_max_depth): Define new function. + (show_print_max_depth): New function. + (_initialize_valprint): Add 'print max-depth' option. + * valprint.h (struct value_print_options) : New field. + (val_print_check_max_depth): Declare new function. + * NEWS: Document new feature. + +2019-04-29 Andrew Burgess + + * ada-lang.c (ada_language_defn): Initialise new field. + * c-lang.c (c_is_string_type_p): New function. + (c_language_defn): Initialise new field. + (cplus_language_defn): Initialise new field. + (asm_language_defn): Initialise new field. + (minimal_language_defn): Initialise new field. + * c-lang.h (c_is_string_type_p): Declare new function. + * d-lang.c (d_language_defn): Initialise new field. + * f-lang.c (f_is_string_type_p): New function. + (f_language_defn): Initialise new field. + * go-lang.c (go_is_string_type_p): New function. + (go_language_defn): Initialise new field. + * language.c (default_is_string_type_p): New function. + (unknown_language_defn): Initialise new field. + (auto_language_defn): Initialise new field. + * language.h (struct language_defn) : New + member variable. + (default_is_string_type_p): Declare new function. + * m2-lang.c (m2_language_defn): Initialise new field. + * objc-lang.c (objc_language_defn): Initialise new field. + * opencl-lang.c (opencl_language_defn): Initialise new field. + * p-lang.c (pascal_is_string_type_p): New function. + (pascal_language_defn): Initialise new field. + * rust-lang.c (rust_is_string_type_p): New function. + (rust_language_defn): Initialise new field. + +2019-04-29 Andrew Burgess + + * language.h (struct language_defn) : + New field. + * ada-lang.c (ada_language_defn): Initialise new field. + * c-lang.c (c_language_defn): Likewise. + (cplus_language_defn): Likewise. + (asm_language_defn): Likewise. + (minimal_language_defn): Likewise. + * d-lang.c (d_language_defn): Likewise. + * f-lang.c (f_language_defn): Likewise. + * go-lang.c (go_language_defn): Likewise. + * language.c (unknown_language_defn): Likewise. + (auto_language_defn): Likewise. + * m2-lang.c (m2_language_defn): Likewise. + * objc-lang.c (objc_language_defn): Likewise. + * opencl-lang.c (opencl_language_defn): Likewise. + * p-lang.c (pascal_language_defn): Likewise. + * rust-lang.c (rust_language_defn): Likewise. + +2019-04-29 Andrew Burgess + + * ada-lang.c (ada_is_character_type): Change return type to bool. + (ada_is_string_type): Likewise. + * ada-lang.h (ada_is_character_type): Update declaration + (ada_is_string_type): Likewise. + +2019-04-27 Philippe Waroquiers + + Support style in 'frame|thread apply' + + * gdbcmd.h (execute_command_to_string): New term_out parameter. + * record.c (record_start, record_stop): Update callers of + execute_command_to_string with false. + * guile/guile.c (gdbscm_execute_gdb_command): Likewise. + * ui-file.h (class ui_file): New term_out and can_emit_style_escape + methods. + (class string_file): New constructor with term_out parameter. + Override methods term_out and can_emit_style_escape. New member + term_out. + (class stdio_file): Override can_emit_style_escape. + (class tee_file): Override term_out and can_emit_style_escape. + * utils.h (can_emit_style_escape): Remove. + * utils.c (can_emit_style_escape): Likewise. + Update all callers of can_emit_style_escape (SOMESTREAM) to + SOMESTREAM->can_emit_style_escape. + * source-cache.c (source_cache::get_source_lines): Likewise. + * stack.c (frame_apply_command_count): Call execute_command_to_string + passing the term_out characteristic of the current gdb_stdout. + * thread.c (thr_try_catch_cmd): Likewise. + * top.c (execute_command_to_string): pass term_out parameter + to construct the string_file for the command output. + * ui-file.c (term_cli_styling): New function (most code moved + from utils.c can_emit_style_escape). + (string_file::string_file, string_file::can_emit_style_escape, + stdio_file::can_emit_style_escape, tee_file::term_out, + tee_file::can_emit_style_escape): New functions. + +2019-04-27 Philippe Waroquiers + + * NEWS: Mention the new set|show may-call-functions. + * infcall.c (may_call_functions_p): New variable. + (show_may_call_functions_p): New function. + (call_function_by_hand_dummy): Throws an error if not + may-call-functions. + (_initialize_infcall): Call add_setshow_boolean_cmd for + may-call-functions. + +2019-04-25 Keith Seitz + + PR c++/24367 + * cp-support.c (inspect_type): Don't attempt substitutions + of symbol with the same name. + +2019-04-25 Tom Tromey + + PR gdb/24475: + * event-top.c (gdb_rl_callback_handler): Make "gdb_rl_expt" + static. + +2019-04-25 Tom Tromey + + * xml-support.c (struct gdb_xml_parser) : Take an + rvalue reference. + (gdb_xml_start_element_wrapper, gdb_xml_end_element_wrapper) + (gdb_xml_parser::parse): Use std::move. + * python/python-internal.h (gdbpy_convert_exception): Take a const + reference. + * python/py-value.c (valpy_getitem, valpy_nonzero): Use + std::move. + * python/py-utils.c (gdbpy_convert_exception): Take a const + reference. + * python/py-inferior.c (infpy_write_memory, infpy_search_memory): + Use std::move. + * python/py-breakpoint.c (bppy_set_condition, bppy_set_commands): + Use std::move. + * mi/mi-main.c (mi_print_exception): Take a const reference. + * main.c (handle_command_errors): Take a const reference. + * linespec.c (parse_linespec): Use std::move. + * infcall.c (run_inferior_call): Use std::move. + (call_function_by_hand_dummy): Use std::move. + * exec.c (try_open_exec_file): Use std::move. + * exceptions.h (exception_print, exception_fprintf) + (exception_print_same): Update. + * exceptions.c (print_exception, exception_print) + (exception_fprintf, exception_print_same): Change parameters to + const reference. + * event-top.c (gdb_rl_callback_read_char_wrapper): Update. + * common/new-op.c: Use std::move. + * common/common-exceptions.h (struct gdb_exception): Add move + constructor. + (struct gdb_exception_error, struct gdb_exception_quit, struct + gdb_quit_bad_alloc): Change constructor to move constructor. + (throw_exception): Change parameter to rvalue reference. + * common/common-exceptions.c (throw_exception): Take rvalue + reference. + * cli/cli-interp.c (safe_execute_command): Use std::move. + * breakpoint.c (insert_bp_location, location_to_sals): Use + std::move. + +2019-04-25 Tom Tromey + + * guile/scm-exception.c (gdbscm_scm_from_gdb_exception) + (gdbscm_throw_gdb_exception): Take a gdbscm_gdb_exception. + * guile/scm-block.c, guile/scm-breakpoint.c, guile/scm-cmd.c, + guile/scm-disasm.c, guile/scm-frame.c, guile/scm-lazy-string.c, + guile/scm-math.c, guile/scm-param.c, guile/scm-ports.c, + guile/scm-symbol.c, guile/scm-symtab.c, guile/scm-type.c, + guile/scm-value.c: Use unpack. + * guile/guile-internal.h (gdbscm_scm_from_gdb_exception): Take a + gdbscm_gdb_exception. + (gdbscm_throw_gdb_exception): Likewise. + (struct gdbscm_gdb_exception): New. + (unpack): New function. + (gdbscm_wrap): Use unpack. + +2019-04-25 Tom Tromey + + * event-top.c (gdb_rl_callback_read_char_wrapper_noexcept) + (gdb_rl_callback_handler): Use std::move. + * common/common-exceptions.h (struct gdb_exception): Add move + assignment operator. + (throw_exception_sjlj): Change "exception" to const reference. + * common/common-exceptions.c (exceptions_state_mc_catch): Update. + (throw_exception_sjlj): Change "exception" to const reference. + +2019-04-25 Tom Tromey + + * xml-support.c (gdb_xml_parser::gdb_xml_parser): Update. + * python/py-value.c (valpy_getitem, valpy_nonzero): Update. + * python/py-inferior.c (infpy_write_memory, infpy_search_memory): + Update. + * python/py-breakpoint.c (bppy_set_condition, bppy_set_commands): + Update. + * mi/mi-interp.c (mi_interp::exec): Update. + * linespec.c (parse_linespec): Update. + * infcall.c (run_inferior_call): Update. + * guile/scm-value.c (gdbscm_value_to_lazy_string): Update. + * guile/scm-symbol.c (gdbscm_lookup_symbol) + (gdbscm_lookup_global_symbol): Update. + * guile/scm-param.c (gdbscm_parameter_value): Update. + * guile/scm-frame.c (gdbscm_frame_read_register) + (gdbscm_frame_read_var): Update. + * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Update. + * exec.c (try_open_exec_file): Update. + * event-top.c (gdb_rl_callback_read_char_wrapper_noexcept) + (gdb_rl_callback_handler): Update. + * common/common-exceptions.h (exception_none): Don't declare. + * common/common-exceptions.c (exception_none): Don't define. + (struct catcher) : Update. + * cli/cli-interp.c (safe_execute_command): Update. + * breakpoint.c (insert_bp_location, location_to_sals): Update. + +2019-04-25 Ali Tamur + + * dwarf2read.c (skip_one_die): Add DW_FORM_strx. + (read_attribute_value): Likewise. + (dwarf2_read_addr_index): Update comment. + (read_str_index): Add DW_FORM_strx. + (dwarf2_string_attr): Likewise. + (dwarf2_const_value_attr): Likewise. + (dump_die_shallow): Likewise. + (dwarf2_fetch_constant_bytes): Likewise. + (skip_form_bytes): Likewise. + * testsuite/lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx. + +2019-04-25 Sergio Durigan Junior + + PR corefiles/11608 + PR corefiles/18187 + * linux-tdep.c (dump_mapping_p): Add new parameters ADDR and + OFFSET. Verify if current mapping contains an ELF header. + (linux_find_memory_regions_full): Adjust call to + dump_mapping_p. + +2019-04-25 Sandra Loosemore + Kang Li + + PR gdb/21600 + + * dwarf2-frame.c (read_initial_length): Be consistent about using + unsigned representation of length. + (decode_frame_entry_1): Likewise. Check for wraparound of + end pointer as well as buffer overflow. + +2019-04-24 Sergio Durigan Junior + + * aarch64-tdep.c (aarch64_gdbarch_init): Use "pulongest" to print + "vq". + +2019-04-24 Tom Tromey + + * amd64-tdep.c (amd64_has_unaligned_fields): Ignore bitfields. + +2019-04-23 Andrew Burgess + + * s12z-tdep.c (s12z_unwind_pc): Delete. + (s12z_unwind_sp): Delete. + (s12z_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * rl78-tdep.c (rl78_unwind_sp): Delete. + (rl78_gdbarch_init): Don't register deleted function with gdbarch. + +2019-04-23 Andrew Burgess + + * xstormy16-tdep.c (xstormy16_unwind_sp): Delete. + (xstormy16_unwind_pc): Delete. + (xstormy16_dummy_id): Delete. + (xstormy16_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * vax-tdep.c (vax_unwind_pc): Delete. + (vax_gdbarch_init): Don't register deleted function with gdbarch. + +2019-04-23 Andrew Burgess + + * v850-tdep.c (v850_unwind_sp): Delete. + (v850_unwind_pc): Delete. + (v850_dummy_id): Delete. + (v850_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * tilegx-tdep.c (tilegx_unwind_sp): Delete. + (tilegx_unwind_pc): Delete. + (tilegx_unwind_dummy_id): Delete. + (tilegx_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * tic6x-tdep.c (tic6x_unwind_sp): Delete. + (tic6x_dummy_id): Delete. + (tic6x_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * sparc-tdep.c (sparc_unwind_pc): Delete. + (sparc32_gdbarch_init): Don't register deleted function with + gdbarch. + +2019-04-23 Andrew Burgess + + * sh-tdep.c (sh_unwind_sp): Delete. + (sh_unwind_pc): Delete. + (sh_dummy_id): Delete. + (sh_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * score-tdep.c (score_unwind_sp): Delete. + (score_unwind_pc): Delete. + (score_dummy_id): Delete. + (score_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * rx-tdep.c (rx_unwind_pc): Delete. + (rx_unwind_sp): Delete. + (rx_dummy_id): Delete. + (rx_gdbarch_init): Don't register deleted functions with + gdbarch. Update comment. + +2019-04-23 Andrew Burgess + + * rs6000-tdep.c (rs6000_unwind_pc): Delete. + (rs6000_dummy_id): Delete. + (rs6000_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * or1k-tdep.c (or1k_dummy_id): Delete. + (or1k_gdbarch_init): Don't register deleted function with gdbarch. + +2019-04-23 Andrew Burgess + + * nios2-tdep.c (nios2_dummy_id): Delete. + (nios2_unwind_sp): Delete. + (nios2_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * nds32-tdep.c (nds32_dummy_id): Delete. + (nds32_unwind_pc): Delete. + (nds32_unwind_sp): Delete. + (nds32_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * msp430-tdep.c (msp430_unwind_pc): Delete. + (msp430_unwind_sp): Delete. + (msp430_dummy_id): Delete. + (msp430_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * moxie-tdep.c (moxie_unwind_sp): Delete. + (moxie_unwind_pc): Delete. + (moxie_dummy_id): Delete. + (moxie_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * mn10300-tdep.c (mn10300_dummy_id): Delete. + (mn10300_unwind_pc): Delete. + (mn10300_unwind_sp): Delete. + (mn10300_push_dummy_call): Use gdbarch_unwind_sp not + mn10300_unwind_sp. + (mn10300_frame_unwind_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * mep-tdep.c (mep_unwind_pc): Delete. + (mep_unwind_sp): Delete. + (mep_dummy_id): Delete. + (mep_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * m68hc11-tdep.c (m68hc11_unwind_pc): Delete. + (m68hc11_unwind_sp): Delete. + (m68hc11_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * m32r-tdep.c (m32r_unwind_sp): Delete. + (m32r_unwind_pc): Delete. + (m32r_dummy_id): Delete. + (m32r_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * m32c-tdep.c (m32c_unwind_pc): Delete. + (m32c_unwind_sp): Delete. + (m32c_dummy_id): Delete. + (m32c_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * gdb/lm32-tdep.c (lm32_unwind_sp): Delete. + (lm32_unwind_pc): Delete. + (lm32_dummy_id): Delete. + (lm32_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * gdb/iq2000-tdep.c (iq2000_unwind_sp): Delete. + (iq2000_unwind_pc): Delete. + (iq2000_dummy_id): Delete. + (iq2000_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-04-23 Andrew Burgess + + * nds32-tdep.c (nds32_type_align): Delete. + (nds32_push_dummy_call): Use type_align instead. + +2019-04-23 Andrew Burgess + + * arm-tdep.c (arm_type_align): Only handle vector override case. + (arm_push_dummy_call): Use type_align. + (arm_gdbarch_init): Register arm_type_align gdbarch function. + +2019-04-23 Andrew Burgess + + * aarch64-tdep.c (aarch64_type_align): Only handle vector override + case. + (pass_on_stack): Use type_align. + (aarch64_gdbarch_init): Register aarch64_type_align gdbarch + function. + +2019-04-23 Tom Tromey + + * dwarf2read.c (line_header::file_name_at): Remove unused + overload. + +2019-04-23 Tom de Vries + + PR gdb/24438 + * contrib/cc-with-tweaks.sh: Remove superfluous .alt file after dwz + invocation. + + +2019-03-27 Ali Tamur + + * dwarf2-frame.c(dwarf_expr_executor::get_addr_index): Update comment + * dwarf2expr.c(dwarf_expr_context::execute_stack_op): Add DW_OP_addrx + * dwarf2expr.h(dwarf_expr_context::offset): Update comment + (dwarf_expr_context::get_addr_index): Likewise + * dwarf2loc.c(dwarf_evaluate_loc_desc::get_addr_index): Likewise + (symbol_needs_eval_context::get_addr_index): Likewise + (disassemble_dwarf_expression): Add DW_OP_addrx + * dwarf2read.c(attr_value_as_address): Add DW_FORM_addrx + (read_cutu_die_from_dwo): Update comment + (skip_one_die): Add DW_FORM_addrx + (read_attribute_value): Likewise + (var_decode_location): Add DW_OP_addrx + (dwarf2_const_value_attr): Add DW_FORM_addrx + (dump_die_shallow): Likewise + (dwarf2_fetch_constant_bytes): Likewise + (decode_locdesc): Add DW_OP_addrx + (skip_form_bytes): Add DW_FORM_addrx + +2019-04-22 Ali Tamur + + * MAINTAINERS (Write After Approval): Add self. + +2019-04-22 Simon Marchi + + * solib-svr4.c (get_svr4_info): Add pspace parameter. + (svr4_keep_data_in_core): Pass current_program_space to get_svr4_info. + (open_symbol_file_object): Likewise. + (svr4_default_sos): Add info parameter. + (svr4_read_so_list): Likewise. + (svr4_current_sos_direct): Adjust functions calls to pass down + info. + (svr4_current_sos_1): Add info parameter. + (svr4_current_sos): Call get_svr4_info, pass info down to + svr4_current_sos_1. + (svr4_fetch_objfile_link_map): Pass objfile->pspace to + get_svr4_info. + (svr4_in_dynsym_resolve_code): Pass current_program_space to + get_svr4_info. + (probes_table_htab_remove_objfile_probes): Pass objfile->pspace + to get_svr4_info. + (probes_table_remove_objfile_probes): Likewise. + (register_solib_event_probe): Add info parameter. + (solist_update_incremental): Pass info parameter down to + svr4_read_so_list. + (disable_probes_interface): Add info parameter. + (svr4_handle_solib_event): Pass current_program_space to + get_svr4_info. Adjust disable_probes_interface cleanup. + (svr4_create_probe_breakpoints): Add info parameter, pass it + down to register_solib_event_probe. + (svr4_create_solib_event_breakpoints): Add info parameter, + pass it down to svr4_create_probe_breakpoints. + (enable_break): Pass info down to + svr4_create_solib_event_breakpoints. + (svr4_solib_create_inferior_hook): Pass current_program_space to + get_svr4_info. + (svr4_clear_solib): Likewise. + +2019-04-22 Pedro Alves + + * solib-svr4.c (svr4_free_objfile_observer): New. + (probe_and_action::objfile): New field. + (probes_table_htab_remove_objfile_probes) + (probes_table_remove_objfile_probes): New functions. + (register_solib_event_probe): Add 'objfile' parameter. Store it + in the new probe_and_action. Don't store the probe in 'lookup'. + (svr4_create_probe_breakpoints): Pass objfile to + register_solib_event_probe. + (_initialize_svr4_solib): Register a free_objfile observer. + +2019-04-19 Tom Tromey + + * common/queue.h: Remove. + +2019-04-19 Tom Tromey + + * event-loop.c: Don't include "common/queue.h". + +2019-04-19 Tom Tromey + + * remote.c (remote_target): Use delete. + * remote-notif.h: Include , not "common/queue.h". + (notif_client_p): Remove typedef. + (remote_notif_state): Add constructor, destructor, initializer. + : Now a std::list. + (remote_notif_state_xfree): Don't declare. + * remote-notif.c (remote_notif_process, handle_notification) + (remote_notif_state_allocate): Update. + (~remote_notif_state): Rename from remote_notif_state_xfree. + +2019-04-19 Tom Tromey + + * symfile.c (reread_symbols): Update. + * objfiles.c (objfile_register_static_link) + (objfile_lookup_static_link): Update + (~objfile) Don't delete static_links. + * objfiles.h (struct objfile) : Now an htab_up. + +2019-04-19 Tom Tromey + + * type-stack.h (struct type_stack) : Constify string. + * type-stack.c (type_stack::insert): Constify string. + * gdbtypes.h (lookup_template_type): Update. + (address_space_name_to_int): Update. + * gdbtypes.c (address_space_name_to_int): Make space_identifier + const. + (lookup_template_type): Make name const. + * c-exp.y: Update rules. + (lex_one_token, classify_name, classify_inner_name) + (c_print_token): Update. + * p-exp.y: Update rules. + (yylex): Update. + * f-exp.y: Update rules. + (yylex): Update. + * d-exp.y: Update rules. + (lex_one_token, classify_name, classify_inner_name): Update. + * parse.c (write_dollar_variable, copy_name): Return std::string. + * parser-defs.h (copy_name): Change return type. + * m2-exp.y: Update rules. + (yylex): Update. + * go-exp.y (lex_one_token): Update. + Update rules. + (classify_unsafe_function, classify_packaged_name) + (classify_name, yylex): Update. + +2019-04-19 Sergei Trofimovich + + * configure.ac: add --enable-source-highlight switch. + * configure: Regenerate. + * top.c (print_gdb_version): plumb --enable-source-highlight + status to "show configuration". + +2019-04-19 Tom Tromey + + * ada-lang.c (ada_is_variant_part, ada_to_fixed_type_1): + Check ADA_TYPE_P. + (empty_record, ada_template_to_fixed_record_type_1) + (template_to_static_fixed_type) + (to_record_with_fixed_variant_part): Use INIT_NONE_SPECIFIC. + * cp-abi.c (value_rtti_type): Check HAVE_CPLUS_STRUCT. + * gdbtypes.h (INIT_NONE_SPECIFIC, ADA_TYPE_P): New + macros. + +2019-04-19 Ilya Yu. Malakhov + + PR symtab/24423: + * source.c (print_source_lines_base): Advance "iter" when a + control character is seen. + +2019-04-19 Philippe Waroquiers + + * inferior.h (struct infcall_suspend_state_deleter): + Catch exception in destructor to avoid crash. + +2019-04-19 Philippe Waroquiers + + * cli/cli-cmds.c (_initialize_cli_cmds): Move "shell" "!" alias + close to the add_com "shell". + +2019-04-18 Tom Tromey + + * process-stratum-target.h (class process_stratum_target) + : Add "final". + +2019-04-17 Tom Tromey + + * dwarf2read.c (dwarf2_init_complex_target_type): Check "tt" + against nullptr before use. + +2019-04-17 Alan Hayward + + * nat/linux-waitpid.c (linux_debug): Call debug_vprintf. + +2019-04-17 Jim Wilson + Andrew Burgess + + * riscv-tdep.c (riscv_breakpoint_kind_from_pc): Hanndle case where + code read might fail, assume 4-byte breakpoint in that case. + +2019-04-15 Leszek Swirski + + * amd64-tdep.c (amd64_classify_aggregate): Use cp_pass_by_reference + rather than a hand-rolled POD check when checking for forced MEMORY + classification. + +2019-04-15 Alan Hayward + + * aarch64-linux-nat.c (store_sveregs_to_thread): Set vector length. + * nat/aarch64-sve-linux-ptrace.c (aarch64_sve_set_vq): New + function. + (aarch64_sve_regs_copy_to_reg_buf): Remove VG checks. + (aarch64_sve_regs_copy_from_reg_buf): Likewise. + * nat/aarch64-sve-linux-ptrace.h (aarch64_sve_set_vq): New + declaration. + +2019-04-15 Alan Hayward + + * aarch64-linux-nat.c + (aarch64_linux_nat_target::thread_architecture): Add override. + * aarch64-tdep.c (aarch64_gdbarch_init): Ensure different tdesc for + each VQ. + +2019-04-15 Alan Hayward + + * aarch64-tdep.c (aarch64_gdbarch_init): Move gdbarch lookup. + +2019-04-13 Andrew Burgess + + * dwarf2read.c (dwarf2_init_complex_target_type): Handle complex + target types of size 96-bits, add some additional comments, and + check that the builtin type we found was the correct size. + +2019-04-12 Eli Zaretskii + + * utils.c (prompt_for_continue): Don't restore the styling at the + end, as applied_style has the wrong value. This fixes styling in + long lists of file names that are interrupted by the "Continue?" + prompt. + +2019-04-12 Andrew Burgess + + * ada-lang.c (ada_language_defn): Remove use of LANG_MAGIC. + * c-lang.c (c_language_defn): Likewise. + (cplus_language_defn): Likewise. + (asm_language_defn): Likewise. + (minimal_language_defn): Likewise. + * d-lang.c (d_language_defn): Likewise. + * f-lang.c (f_language_defn): Likewise. + * go-lang.c (go_language_defn): Likewise. + * language.c (unknown_language_defn): Likewise. + (auto_language_defn): Likewise. + * language.h (struct language_defn): Remove la_magic field. + (LANG_MAGIC): Delete. + * m2-lang.c (m2_language_defn): Remove use of LANG_MAGIC. + * objc-lang.c (objc_language_defn): Likewise. + * opencl-lang.c (opencl_language_defn): Likewise. + * p-lang.c (pascal_language_defn): Likewise. + * rust-lang.c (rust_language_defn): Likewise. + +2019-04-11 Andrew Burgess + + * riscv-tdep.c (riscv_type_align): New function. + (riscv_type_alignment): Delete. + (riscv_arg_location): Use 'type_align'. + (riscv_gdbarch_init): Register riscv_type_align gdbarch function. + 2019-04-11 Andrew Burgess * gdbtypes.c (type_align): A struct with no non-static fields also