From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113187 invoked by alias); 7 Mar 2019 22:44:54 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 113178 invoked by uid 89); 7 Mar 2019 22:44:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=displays, press, Enter, Available X-HELO: gateway36.websitewelcome.com Received: from gateway36.websitewelcome.com (HELO gateway36.websitewelcome.com) (192.185.200.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 07 Mar 2019 22:44:51 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway36.websitewelcome.com (Postfix) with ESMTP id EAB5A4010C111 for ; Thu, 7 Mar 2019 16:00:18 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id 21kthzyG72qH721kthTezh; Thu, 07 Mar 2019 16:44:47 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nKwbXoFJb624/RUaW8Fha4wl7gQ5k+43kpEjkaZi/gU=; b=n2xbtshoOcyPUlhK+G2BqH0SBl 04QtJP+7Y26DLmJZ3ZquoUxB1Oq3+T6WEnAU5K+MCNlGJRhsYBPjgMQ0D62H2Wwe8zRjtjPAaZ/W+ beUNzH3aC3YTCGfuZYjkPBaVM; Received: from 75-166-85-218.hlrn.qwest.net ([75.166.85.218]:34924 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1h21kt-002pQ1-0k; Thu, 07 Mar 2019 16:44:47 -0600 From: Tom Tromey To: Pedro Alves Cc: Eli Zaretskii , Joel Brobecker , gdb-patches@sourceware.org Subject: Re: GDB 8.2.90 available for testing References: <20190227055112.4A5E782D7B@joel.gnat.com> <835zt3kbjf.fsf@gnu.org> Date: Thu, 07 Mar 2019 22:44:00 -0000 In-Reply-To: (Pedro Alves's message of "Fri, 1 Mar 2019 16:35:02 +0000") Message-ID: <87k1hae23l.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-03/txt/msg00179.txt.bz2 Pedro> #1 - Run a program to main, so that the source window displays the source. Pedro> a) Press the "up" key. That manages to actually move the cursor to the line above. I could not reproduce this. Some of the odd behavior I do see seems to predate any of these changes. With the system gdb on Fedora 28 and 29 I can: (gdb) tui enable (gdb) print 23 $1 = 23 (gdb) ... press Enter a a few times Here the subsequent prompts aren't seen and the output just looks like $2 = 23 $3 = 23 ... With git master this is worse and the output looks like: (gdb) print 23 $1 = 23 (gdb) (gdb) $2 = 23 (gdb) $3 = 23 (gdb) $4 = 23 This I tracked down to the "nonl" patch. I haven't yet debugged that one seriously. Pedro> #3 - Start gdb with a program, and enable the TUI. The source window Pedro> displays "No Source Available". Now type "list" in the TUI console. Pedro> I just tried it now, and the first time, it printed the source name in Pedro> the console window and didn't update/display the source in the source window. Pedro> The second time, it displayed the source in the source window, and the third Pedro> time it crashed GDB with an uncaught exception: I will look into the crash, but note that the "list" command is pretty broken in the TUI. https://sourceware.org/bugzilla/show_bug.cgi?id=18932 So it isn't super surprising to me that it doesn't work correctly in all cases. Tom