From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id E401C3857012 for ; Tue, 20 Jul 2021 18:16:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E401C3857012 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16KI4LHc025924; Tue, 20 Jul 2021 14:16:18 -0400 Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0b-001b2d01.pphosted.com with ESMTP id 39x2u1hhad-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Jul 2021 14:16:18 -0400 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 16KICiJg003531; Tue, 20 Jul 2021 18:16:17 GMT Received: from b03cxnp07027.gho.boulder.ibm.com (b03cxnp07027.gho.boulder.ibm.com [9.17.130.14]) by ppma04dal.us.ibm.com with ESMTP id 39upuc8ufg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Jul 2021 18:16:17 +0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp07027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 16KIGG5s28508614 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Jul 2021 18:16:16 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 341246A058; Tue, 20 Jul 2021 18:16:16 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D90696A054; Tue, 20 Jul 2021 18:16:15 +0000 (GMT) Received: from li-e362e14c-2378-11b2-a85c-87d605f3c641.ibm.com (unknown [9.163.3.57]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP; Tue, 20 Jul 2021 18:16:15 +0000 (GMT) Message-ID: From: Carl Love To: Andreas Schwab , Carl Love via Gdb , cel@us.ibm.com Date: Tue, 20 Jul 2021 11:16:15 -0700 In-Reply-To: <17fe5c160e330a406af6776e307be95e0e6fab3b.camel@us.ibm.com> References: <20210719164804.GC1688065@embecosm.com> <87k0llct34.fsf@igel.home> <17fe5c160e330a406af6776e307be95e0e6fab3b.camel@us.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-14.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: _xmUi5rKt0LHzMNaH6ebOhb4DDDvAB8t X-Proofpoint-GUID: _xmUi5rKt0LHzMNaH6ebOhb4DDDvAB8t Subject: RE: Question: gdb.tui/tui-layout-asm.exp X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-20_12:2021-07-19, 2021-07-20 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 priorityscore=1501 mlxscore=0 clxscore=1015 impostorscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 phishscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107200119 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2021 18:16:22 -0000 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 "
" +Term::check_box_contents "check asm box contents" 0 0 90 15 "
" # 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