gdb/tui: Fix 'layout asm' before the inferior has started
[deliverable/binutils-gdb.git] / gdb / tui / tui-regs.h
index e45a68f8f49fb57d1c14b5a0fb42abfb92fa1d79..97e02b1a47d020c4e9a48d6feff60b4588c389a2 100644 (file)
@@ -1,6 +1,6 @@
 /* TUI display registers in window.
 
-   Copyright (C) 1998-2019 Free Software Foundation, Inc.
+   Copyright (C) 1998-2020 Free Software Foundation, Inc.
 
    Contributed by Hewlett-Packard Company.
 
@@ -41,6 +41,16 @@ struct tui_data_item_window : public tui_gen_win_info
 
   void refresh_window () override;
 
+  int max_height () const override
+  {
+    return 1;
+  }
+
+  int min_height () const override
+  {
+    return 1;
+  }
+
   const char *name = nullptr;
   /* The register number, or data display number.  */
   int item_no = -1;
This page took 0.040215 seconds and 4 git commands to generate.