Two simplifications in tui-layout.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9724858474dedc787262cd972de3703e129422e6..ea3c0777c9970a2a798461ff0832c637abc64405 100644 (file)
@@ -1,3 +1,164 @@
+2019-08-13  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.c (show_layout): Unify all layout cases into a
+       single switch.
+       (show_source_disasm_command, show_source_or_disasm_and_command):
+       Don't check current layout.
+
+2019-08-13  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.c (make_all_visible): Remove.
+       (tui_make_all_invisible): Simplify.
+       * tui/tui-layout.c (tui_make_all_invisible): Move from
+       tui-wingeneral.c; simplify.
+       (show_layout): Hoist call to tui_make_all_invisible.
+       (show_data): Don't call tui_make_all_invisible.
+
+2019-08-13  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.h (tui_make_all_visible): Don't declare.
+       * tui/tui-wingeneral.c (tui_make_all_visible): Remove.
+
+2019-08-13  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.c (current_layout, tui_current_layout): Move from
+       tui-data.c.
+       (show_source_disasm_command, show_data)
+       (show_source_or_disasm_and_command): Don't use
+       tui_set_current_layout_to.
+       * tui/tui-data.h (tui_set_current_layout_to): Don't declare.
+       * tui/tui-data.c (current_layout, tui_current_layout): Move to
+       tui-layout.c.
+       (tui_set_current_layout_to): Remove.
+
+2019-08-13  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.c (tui_set_layout): Update.
+       * tui/tui-data.h (struct tui_layout_def): Remove.
+       (tui_layout_def): Don't declare.
+       * tui/tui-data.c (layout_def): Remove.
+       (tui_layout_def): Remove.
+
+2019-08-13  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-winsource.h (struct tui_source_window_base)
+       <clear_detail>: No longer "override".
+       * tui/tui-regs.h (struct tui_data_window) <clear_detail>: Remove.
+       * tui/tui-regs.c (tui_data_window::clear_detail): Remove.
+       * tui/tui-data.h (struct tui_win_info) <clear_detail>: Remove.
+       * tui/tui-command.h (struct tui_cmd_window) <clear_detail>:
+       Remove.
+       * tui/tui-command.c (tui_cmd_window::clear_detail): Remove.
+
+2019-08-13  Tom Tromey  <tromey@adacore.com>
+
+       * tracepoint.c: Don't include readline.h or history.h.
+
+2019-08-12  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * configure.ac: Check for readline 7.
+       * NEWS: Mention readline 7 requirement.
+       * README: Update.
+
+2019-08-12  Tom Tromey  <tom@tromey.com>
+
+       * mingw-hdep.c (gdb_select): Remove readline hack.
+
+2019-08-09  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * blockframe.c (find_pc_partial_function): Set *block to nullptr
+       when the function fails.
+
+2019-08-09  Andreas Arnez  <arnez@linux.ibm.com>
+
+       * s390-tdep.c (s390_type_align): New function.
+       (s390_gdbarch_init): Set it as type_align gdbarch method.
+
+2019-08-09  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/24591
+       * dwarf2read.c (dwarf2_fetch_die_loc_sect_off): Adjust pc_high and
+       pc_low with relocation offset.
+
+2019-08-07  Tom Tromey  <tromey@adacore.com>
+
+       * stack.c (print_frame_arg, read_frame_local, read_frame_arg)
+       (print_frame_args): Update.
+       * python/py-framefilter.c (py_print_single_arg, enumerate_args):
+       Update.
+       * mi/mi-cmd-stack.c (list_arg_or_local): Update.
+       * frame.h (struct frame_arg): Add initializers.
+       <error>: Now a unique_xmalloc_ptr.
+
+2019-08-07  Alan Hayward  <alan.hayward@arm.com>
+
+       * NEWS: Expand the Pointer Authentication entry.
+       * aarch64-tdep.c (aarch64_frame_unmask_address): Rename from this.
+       (aarch64_frame_unmask_lr): ... to this.
+       (aarch64_prologue_prev_register, aarch64_dwarf2_prev_register):
+       Call aarch64_frame_unmask_lr.
+       * frame.c (struct frame_info): Add "masked" variable.
+       (frame_set_previous_pc_masked) (frame_get_pc_masked): New functions.
+       (fprint_frame): Check for masked pc.
+       * frame.h (frame_set_previous_pc_masked) (frame_get_pc_masked): New
+       declarations.
+       * python/py-framefilter.c (py_print_frame): Check for masked pc.
+       * stack.c (print_frame): Check for masked pc.
+
+2019-08-06  Tom Tromey  <tom@tromey.com>
+
+       * stabsread.c (patch_block_stabs, read_one_struct_field)
+       (read_enum_type): Use obstack_strndup.
+       * rust-exp.y (rust_parser::copy_name): Use obstack_strndup.
+       * gdb_obstack.h (obstack_strndup): Use obstack_strndup.
+       * dwarf2read.c (guess_full_die_structure_name)
+       (anonymous_struct_prefix): Use obstack_strndup.
+       * dbxread.c (cp_set_block_scope): Use obstack_strndup.
+       * c-exp.y (yylex): Use obstack_strndup.
+       * ada-exp.y (write_object_renaming, write_ambiguous_var)
+       (write_var_or_type): Use obstack_strndup.
+
+2019-08-06  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (reread_symbols): Use obstack_strdup.
+       * stabsread.c (read_type): Use obstack_strdup.
+       * gdb_obstack.h (obstack_strdup): New overload.
+       * dwarf2read.c (dwarf2_compute_name, create_dwo_unit_in_dwp_v1)
+       (create_dwo_unit_in_dwp_v2, build_error_marker_type)
+       (dwarf2_canonicalize_name): Use obstack_strdup.
+       * dbxread.c (read_dbx_symtab): Use obstack_strdup.
+       * cp-support.c (inspect_type, replace_typedefs_qualified_name):
+       Use obstack_strdup.
+
+2019-08-06  Tom Tromey  <tom@tromey.com>
+
+       * gdb_obstack.h (obstack_strdup): Define.
+       * gdb_obstack.c (obstack_strdup): Don't define.
+
+2019-08-06  Tom Tromey  <tom@tromey.com>
+
+       * xcoffread.c (SYMNAME_ALLOC, process_xcoff_symbol): Use
+       obstack_strdup.
+       * typeprint.c (typedef_hash_table::find_global_typedef): Use
+       obstack_strdup.
+       * symfile.c (allocate_compunit_symtab): Use obstack_strdup.
+       * stabsread.c (common_block_start): Use obstack_strdup.
+       * objfiles.c (set_objfile_main_name, objfile): Use
+       obstack_strdup.
+       * namespace.c (add_using_directive): Use obstack_strdup.
+       * mdebugread.c (parse_symbol, parse_type): Use obstack_strdup.
+       * jit.c (finalize_symtab): Use obstack_strdup.
+       * dwarf2read.c (fixup_go_packaging, dwarf2_physname)
+       (guess_partial_die_structure_name, partial_die_info::fixup)
+       (dwarf2_name): Use obstack_strdup.
+       * coffread.c (coff_read_struct_type, coff_read_enum_type): Use
+       obstack_strdup.
+       * c-exp.y (scan_macro_expansion): Use obstack_strdup.
+       * buildsym.c (buildsym_compunit::end_symtab_with_blockvector): Use
+       obstack_strdup.
+       * ada-lang.c (ada_decode_symbol): Use obstack_strdup.
+
 2019-08-07  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
 
        * unittests/help-doc-selftests.c: New file.
This page took 0.466839 seconds and 4 git commands to generate.