public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Carl Love <cel@us.ibm.com>
To: Andreas Schwab <schwab@linux-m68k.org>,
	Carl Love via Gdb <gdb@sourceware.org>,
	cel@us.ibm.com
Subject: RE: Question:  gdb.tui/tui-layout-asm.exp
Date: Tue, 20 Jul 2021 11:16:15 -0700	[thread overview]
Message-ID: <dd49d312ae8cabe424aa0c166ebabf4d0bd5cae4.camel@us.ibm.com> (raw)
In-Reply-To: <17fe5c160e330a406af6776e307be95e0e6fab3b.camel@us.ibm.com>

Andreas:

Making the window wider and adjusting the check for the box size fixes
the issues.  The following is the patch to fix the problems.

Simple fix once we got all the way down to what was really going on.

Thanks for the help.

                 Carl 
--------------------------------------------------------------------

gdb/testsuite/gdb.tui/tui-layout-asm.exp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdb/testsuite/gdb.tui/tui-layout-asm.exp b/gdb/testsuite/gdb.tui/
tui-layout-asm.exp
index 19ce333ca9e..75e0d6b3a07 100644
--- a/gdb/testsuite/gdb.tui/tui-layout-asm.exp
+++ b/gdb/testsuite/gdb.tui/tui-layout-asm.exp
@@ -24,7 +24,7 @@ if {[build_executable "failed to prepare" ${testfile} ${srcf
ile}] == -1} {
     return -1
 }
 
-Term::clean_restart 24 80 $testfile
+Term::clean_restart 24 90 $testfile
 if {![Term::prepare_for_tui]} {
     unsupported "TUI not supported"
     return
@@ -32,7 +32,7 @@ if {![Term::prepare_for_tui]} {
 
 # This puts us into TUI mode, and should display the ASM window.
 Term::command_no_prompt_prefix "layout asm"
-Term::check_box_contents "check asm box contents" 0 0 80 15 "<main>"
+Term::check_box_contents "check asm box contents" 0 0 90 15 "<main>"
 
 # Scroll the ASM window down using the down arrow key.  In an ideal
 # world we'd like to use PageDown here, but currently our terminal
-- 
2.17.1


      reply	other threads:[~2021-07-20 18:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c9c9f9f9af7ae99468baa7fd885538af4a694714.camel@us.ibm.com>
     [not found] ` <20210719164804.GC1688065@embecosm.com>
2021-07-19 22:22   ` Carl Love
2021-07-20  8:01     ` Andreas Schwab
2021-07-20 17:41       ` Carl Love
2021-07-20 18:06         ` Carl Love
2021-07-20 18:16           ` Carl Love [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd49d312ae8cabe424aa0c166ebabf4d0bd5cae4.camel@us.ibm.com \
    --to=cel@us.ibm.com \
    --cc=gdb@sourceware.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).