From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by sourceware.org (Postfix) with ESMTPS id 86E20385BF9C for ; Sat, 13 Mar 2021 17:01:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 86E20385BF9C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=brasko.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=bob@brasko.net Received: by mail-qk1-x729.google.com with SMTP id l4so27670277qkl.0 for ; Sat, 13 Mar 2021 09:01:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasko-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qM4PgWbxbUhZjHWquoWpzP5Bmu+dM5zuzqgoIkUyB8E=; b=sUq6LHDSlGxmTermUSF26YXIzH8Zpc6EvDk7JEQVIPkAtClV4gYsXoEnVIX/ZfcBhi gRP3q1DzRvuFFXq8JTuwGvZkpySOwsSqZmosSXxB3xxhWlPbOcwBpLck6pHg5fjTYRFX uGTfF+RbUHlMr+KayZWkVMCR8M03p+XrRrROzEN8gg5vkCYQ3hxdDqeWbKmmzPjZwqVu avcJpH5g+LrATzYqQaLHg17w91o6rGZzjCYhTGE8ICDKzk4WIQ/NVUDicvS0xaX2cjy2 A1/39YODZq9LTT3aVIfH+QTdzTlIz15HeMspd2DZCOyKzNPKRm8U4pZq4L2GuJlNCLRT nUtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=qM4PgWbxbUhZjHWquoWpzP5Bmu+dM5zuzqgoIkUyB8E=; b=H055XwKKF1D9J8OftOyTjH9ICIU3cHZNyjfrSs6ihWX9/9rd4tP1fU1Q2GaS83FYaM LMW1uOPdxINGouMyD7235NHaUzeZ0URN5puyKKULHTaQxASAeKOOoi8A0RbI8W78dk15 aFaqz++wZY+xLN2l2RuApkZji5rMME7X83yYxymmOefUxenJt0Ybzt/XkK7RH3/Wx6+q 6RFrCLOQfSed9zkZsDqaSPhW7QSfoI2ka2Nr21znd1j+Cvel67QAP8fy1kO6lv3CrPIr XExFm7vSes2QbbWl7iJE74sYcKsctNehfye621EokaPp4sWIYd5BQPXqLJjNU1AORu+h g1MQ== X-Gm-Message-State: AOAM5328HiedKQEK4njyYXgnwlsxkTAOuAZeNXKfgeuv9cLRzo5RD1jI L4ygb1uXgBnsNKZA73lbBJg2oQ== X-Google-Smtp-Source: ABdhPJxKXiuBKj3IO0+soKVE4Hrpfh6MmXpRsaQXKm32lZ15sXub65HYcRrFMON6+O/iADsI6aOmRg== X-Received: by 2002:a05:620a:122b:: with SMTP id v11mr17285179qkj.461.1615654886210; Sat, 13 Mar 2021 09:01:26 -0800 (PST) Received: from xubuntu.brasko.net (pool-173-69-6-166.prvdri.fios.verizon.net. [173.69.6.166]) by smtp.gmail.com with ESMTPSA id 6sm6529568qth.82.2021.03.13.09.01.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Mar 2021 09:01:25 -0800 (PST) Date: Sat, 13 Mar 2021 12:01:21 -0500 From: Bob Rossi To: Andrew Burgess Cc: gdb@sourceware.org, Marc Khouzam , Pedro Alves Subject: Re: source annotation now prints source line Message-ID: <20210313170028.GA7813@xubuntu.brasko.net> References: <20200404235424.GB5321@xubuntu.brasko.net> <20200414112304.GB22764@xubuntu.brasko.net> <20200414121705.GD2366@embecosm.com> <20200415021324.GB31494@xubuntu.brasko.net> <20200416174128.GA1633140@embecosm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200416174128.GA1633140@embecosm.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: Sat, 13 Mar 2021 17:01:27 -0000 On Thu, Apr 16, 2020 at 06:41:28PM +0100, Andrew Burgess wrote: > I'll take a look to see if there's a good way to give you the > functionality you're looking for and close the bugs off. Thank you for doing this Andrew, I appreciate it. Ironically, I just upgraded CGDB to no longer use annotations. I'm moved it from annotations to gdb/mi, in the same way that Eclipse uses MI, by using the new-ui feature of gdb. Now i see the source linse are still visible in the console. gdb doesn't know to not show them in this mode. To recap, - cgdb using annotations does not show code in console - cgdb using mi using new-ui does show code in console - gdb tui does not show code in console - eclipse probably shows code in console, as it uses mi and new-ui Would it be to much to ask that if new-ui is being used, that we assume a front end is being used, and not display the code in the console? I've CC'd Pedro and Marc as I believe they may be the relevant people to have an opinion on how this would impact eclipse. Thanks, Bob Rossi