X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=79475684548384762b857ae134971b2a6c64abb5;hb=fbe4d6650d714643fe340d9ccba7fc500c26b91d;hp=87ae3721764ab18fa963845f8a17564d96f3998c;hpb=4ca51187d21562b6626eea2bd0e45f6b64719dfd;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 87ae372176..7947568454 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,184 @@ +2019-06-04 Pedro Alves + + * common/gdb_unique_ptr.h (make_unique_xstrdup): New. + + * ada-lang.c (catch_ada_completer): Use make_unique_xstrdup. + * breakpoint.c (condition_completer): Likewise. + * cli/cli-dump.c (scan_expression): Likewise. + * common/filestuff.c (mkdir_recursive): Likewise. + * common/gdb_tilde_expand.c (gdb_tilde_expand_up) + * common/pathstuff.c (gdb_realpath, gdb_realpath_keepfile) + (gdb_abspath): Likewise. + * compile/compile-cplus-types.c + (compile_cplus_instance::decl_name): Likewise. + * completer.c (complete_explicit_location): + (signal_completer, reg_or_group_completer_1): Likewise. + * cp-support.c (cp_remove_params_if_any): Likewise. + * fbsd-tdep.c (fbsd_core_vnode_path): Likewise. + * guile/scm-safe-call.c (gdbscm_safe_eval_string): Likewise. + * infcmd.c (strip_bg_char): Likewise. + * linespec.c (copy_token_string): Likewise. + * mi/mi-main.c (output_cores): Likewise. + * psymtab.c (psymtab_search_name): + * symfile.c (test_set_ext_lang_command): Likewise. + * target.c (target_fileio_read_stralloc): Likewise. + * tui/tui-regs.c (tui_reggroup_completer): Likewise. + * value.c (complete_internalvar): Likewise. + +2019-06-04 Christian Biesinger + + Add objfile property to gdb.Type. + * NEWS: Mention Python API addition. + * python/py-type.c (typy_get_objfile): New method. + +2019-06-03 Philippe Waroquiers + + * NEWS: Mention the new set|show style [title|highlight]. + Mention changes to "show style", "help" and "apropos". + +2019-06-03 Philippe Waroquiers + + * cli/cli-decode.h (apropos_cmd): Add verbose argument. + * cli/cli-decode.c (apropos_cmd): Likewise. Use print_doc_of_command + instead of print_help_for_command. + (print_doc_of_command): New function. + (help_list): Add 'apropos -v word' suggestion. + (print_help_for_command): Style the command name using title style. + * cli/cli-cmds.c (apropos_command): Parse optional -v flag. + (_initialize_cli_cmds): Describe -v in apropos_command help. + +2019-06-03 Philippe Waroquiers + + * cli/cli-style.h (cli_style_option): Add name in constructor, + add m_name class member, add constructor with intensity, + add name class function. + (cli_style_option::add_setshow_commands): Remove name argument. + (highlight_style, title_style): New styles. + * cli/cli-style.c (do_show): New function that shows a style + characteristic styling the style name with itself. + (set_style_name): New function. + (STYLE_ADD_SETSHOW_COMMANDS): Remove NAME arguments. + Update all callers according to the changes in cli/cli-style.h. + * utils.h (fputs_highlighted): New function. + * utils.c (fputs_highlighted): Likewise. + +2019-05-31 Philippe Waroquiers + + * NEWS: Mention new pipe command and new convenience variables. + +2019-05-31 Philippe Waroquiers + + * cli/cli-cmds.c (pipe_command): New function. + (_initialize_cli_cmds): Call add_com for pipe_command. + Define | as an alias for pipe. + (exit_status_set_internal_vars): New function. + (shell_escape): Call exit_status_set_internal_vars. + cli/cli-decode.c (find_command_name_length): Recognize | as + a single character command. + +2019-05-31 Philippe Waroquiers + + * gdbcmd.h (execute_command_to_ui_file): New declaration. + top.c (execute_command_to_ui_file): New function, mostly a copy + of execute_command_to_string. + (execute_command_to_string): Implement by calling + execute_command_to_ui_file. + +2019-05-31 Philippe Waroquiers + + * top.h (saved_command_line): Remove declaration. + * top.c (previous_saved_command_line, previous_repeat_arguments): + New variables. + (saved_command_line): Make static, define together with other + 'repeat variables'. + (dont_repeat): Clear repeat_arguments. + (repeat_previous, get_saved_command_line, save_command_line): + New functions. + (gdb_init): Initialize saved_command_line + and previous_saved_command_line. + * main.c (captured_main_1): Remove saved_command_line initialization. + * event-top.c (handle_line_of_input): Update to use + the new 'repeat' related functions instead of direct access to + saved_command_line. + * command.h (repeat_previous, get_saved_command_line, + save_command_line): New declarations. + (dont_repeat): Add comment. + +2019-05-30 Tom Tromey + + * gdbtypes.h (struct range_bounds) : + Fix comment. + (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED): Rewrite comment. + +2019-05-30 Jan Vrany + + PR cli/24587 + * completer.c (complete): Initialize variable word. + +2019-05-29 Sergio Durigan Junior + + Ref.: https://bugzilla.redhat.com/show_bug.cgi?id=1708192 + Ref.: https://bugzilla.redhat.com/show_bug.cgi?id=1715008 + * dwarf2read.c (dwarf_decode_macro_bytes): Move check to see if + 'body' is NULL to the outter 'if', protecting the '!is_define' + situation as well. + +2019-05-29 Tom Tromey + + * dwarf2read.c (partial_die_parent_scope): Call dwarf_tag_name. + (dwarf_unknown): New function. + (dwarf_tag_name, dwarf_attr_name, dwarf_form_name) + (dwarf_type_encoding_name): Use dwarf_unknown. + +2019-05-29 Tom Tromey + + PR c++/20020: + * cp-valprint.c (cp_print_value_fields): Call + cp_print_static_field inside "try". + +2019-05-29 Tom Tromey + + * inflow.c (struct terminal_info): Add default operator=. + * configure: Rebuild. + * warning.m4 (AM_GDB_WARNINGS): Add -Wdeprecated-copy, + -Wdeprecated-copy-dtor, -Wredundant-move. + +2019-05-29 Tom Tromey + + * NEWS: Add entry. + * infcmd.c (print_return_value_1): Handle finish_print + option. + (show_print_finish): New function. + (_initialize_infcmd): Add "set/show print finish" commands. + * valprint.c (user_print_options): Initialize new member. + * valprint.h (struct value_print_options) : New + member. + +2019-05-28 Tom Tromey + + * ada-lang.c (ada_remove_Xbn_suffix) + (find_old_style_renaming_symbol) + (parse_old_style_renaming): Remove. + (ada_find_renaming_symbol): Don't call + find_old_style_renaming_symbol. + (ada_is_renaming_symbol): Rename from + ada_find_renaming_symbol. Remove "block" parameter. Return + bool. Now static. + (ada_read_var_value): Update and simplify. + * ada-exp.y (write_var_or_type): Remove old code. + +2019-05-28 Alan Hayward + + * event-top.c: Remove include comment. + * inflow.c (class scoped_ignore_sigttou): Move from here... + * inflow.h (class scoped_ignore_sigttou): ...to here. + * ser-unix.c (hardwire_drain_output): Block SIGTTOU during drain. + * top.c: Remove include comment. + +2019-05-27 Tom Tromey + + * NEWS: Fix typo. + 2019-05-22 Tom Tromey * target.c (target_follow_exec): Constify parameter.