From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ZjArEQ4T92B3XAAAWB0awg (envelope-from ) for ; Tue, 20 Jul 2021 14:16:46 -0400 Received: by simark.ca (Postfix, from userid 112) id 36EEE1EDF2; Tue, 20 Jul 2021 14:16:46 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 7FA4A1E79C for ; Tue, 20 Jul 2021 14:16:45 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 225833989C2C for ; Tue, 20 Jul 2021 18:16:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 225833989C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1626805005; bh=CysU5Mu8Qqv2nVbO9m2vemrYcTXs/SzEUbOtO7By5zk=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=dKj2ToHwxQ0FHdv7V9nzZzqP0XQwL5G0rYb47SaBO4fUPkBY5mpfvdRadP+svMxVX EFfPTYS+ozno6bS2/HJ9NoEJ7Ralu24dY9MFVajLDVDQYc1m31TlNBq03DYDqCAjYn /EXkUk5p7yMwoLKULhyx6K9MpCSU+hqglgQYK2c0= 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: 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-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: , From: Carl Love via Gdb Reply-To: Carl Love Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" 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