X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=5c6740a878ac1c22c1600a9019bbbd5fbfdad6ae;hb=5da01df5b5601cae695cee588547fb9ef0967081;hp=432eb7bda0e18de263a1776174a6716887b6c7b0;hpb=4be290b2517839872ef7de47230be8dbd291a7e5;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 432eb7bda0..5c6740a878 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,284 @@ +2019-05-04 Simon Marchi + Tom Tromey + + * ppc-linux-nat.c (thread_points_p): Remove typedef and DEF_VEC. + (ppc_threads): Now a std::vector. Now static. + (hwdebug_find_thread_points_by_tid) + (ppc_linux_nat_target::low_new_thread, ppc_linux_thread_exit): + Update. + +2019-05-04 Tom Tromey + + * arc-tdep.c (arc_tdesc_init): Return bool. + +2019-05-04 Tom Tromey + + * arm-linux-nat.c (arm_linux_nat_target::can_use_hw_breakpoint): + Use gdb_assert_not_reached. + +2019-05-04 Tom Tromey + + * compile/compile-cplus-types.c (compile_cplus_convert_enum): Use + "false". + +2019-05-04 Tom Tromey + + * arc-tdep.c (arc_tdesc_init): Use bool. + +2019-05-04 Tom Tromey + + * stack.c (select_frame_for_mi): Use "false", not "FALSE". + +2019-05-04 Tom Tromey + + * cli/cli-cmds.c (valid_command_p): Return bool. + +2019-05-04 Tom Tromey + + * cli/cli-decode.c (valid_user_defined_cmd_name_p): Return bool. + * command.h (valid_user_defined_cmd_name_p): Channge return type. + +2019-05-04 Raul Tambre + + * python/lib/gdb/prompt.py (_ExtendedPrompt) + : Fix incorrect use of 'is' + operator for comparison. + +2019-05-04 Tom Tromey + + * psymtab.c (psymbol_name_matches, match_partial_symbol) + (lookup_partial_symbol, print_partial_symbols) + (recursively_search_psymtabs, sort_pst_symbols, psymbol_hash) + (psymbol_compare): Update. + (add_psymbol_to_bcache): Clear the entire psymbol. + (maintenance_check_psymtabs): Update. + * psympriv.h (struct partial_symbol): Don't derive from + general_symbol_info. + : Update. + : New member. + * dwarf-index-write.c (write_psymbols, debug_names::insert) + (debug_names::write_psymbols): Update. + +2019-05-04 Tom de Vries + + * contrib/cc-with-tweaks.sh: Support -n arg. + +2019-05-04 Philippe Waroquiers + + * corelow.c (core_target::detach): Ensure frame cache and + register caches are cleared. + inferior.c (exit_inferior_1): Likewise. + +2019-05-03 Sandra Loosemore + Tom Tromey + + * dictionary.c (collate_pending_symbols_by_language): Remove + "struct" from foreach. + * symtab.c (lookup_global_symbol_from_objfile) + (lookup_symbol_in_objfile_from_linkage_name): Remove "struct" from + foreach. + * ser-tcp.c (net_open): Remove "struct" from foreach. + * objfiles.c (objfile_relocate, objfile_rebase) + (objfile_has_symbols): Remove "struct" from foreach. + * minsyms.c (lookup_minimal_symbol_by_pc_section): Remove "struct" + from foreach. + * dwarf2read.c (handle_struct_member_die): Remove "struct" from + foreach. + * darwin-nat.c (thread_info_from_private_thread_info): Remove + "struct" from foreach. + * ada-lang.c (create_excep_cond_exprs) + (ada_exception_catchpoint_cond_string): Remove "struct" from + foreach. + +2019-05-03 Tom Tromey + + * ada-exp.y (convert_char_literal): Check suffix of each + enumerator. + +2019-05-03 Dilyan Palauzov + + PR ada/21406: + * ada-exp.y (yywrap): Don't define. + * ada-lex.l (%option): Add noyywrap + (yywrap): Remove. + +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.