From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by sourceware.org (Postfix) with ESMTPS id BAEE8385DC00 for ; Sat, 4 Apr 2020 23:54:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BAEE8385DC00 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-x733.google.com with SMTP id j4so12299772qkc.11 for ; Sat, 04 Apr 2020 16:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasko-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=pazNnxl+CtEqcZf+20tyRqal4+ZWIJhYv+7akT46m/o=; b=JFbgwsUNOM83lVwFYk6ch/4PKbQqkbNhMvKbG5TJBYcjB9QCKW77MP3mukwrCNhhKf eHJCLxMYbKBZA+uDB01TLYeZbWk/qkTdvlaKQFB2AVgD6InGtEiv+8LmHbll2Ozz6e/9 /sbK+/MudY51bJjpcP7sfqfDEJfo5Vs+vshUJec0BhDNhu1JmDAWqfYd/JmLfEIvV6fh qp4W6ydk4b1C57VOLtBxsg3pKdvlbk3dNPFSA+Px/sam8OnPpBRB7Sj7CkN9BmcfrP6j MqJVxvzuvmNojiVgTeEyDuXFWqlNlu8zJSKixIyy6KZmKZhnuCEXHcndn6ViXLHjXa3R 01LQ== 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:subject:message-id:mime-version :content-disposition:user-agent; bh=pazNnxl+CtEqcZf+20tyRqal4+ZWIJhYv+7akT46m/o=; b=Qd0inh+NxyYHIDlD7WlL6ZekeAYYV7IrmJtSW+kepBdo5kHEMQgYeS75CmKlKoLPBH m5IcpjrblLZvMrVPZOtRzYk91QBVQ9OSLwreYRmrm98ImKkDXWRWrXgPE6PvUiSTOFi3 xTWbE6/JKfDdfNOJS9vUDd68hpGUxWIPTv6jjPxRIeyI3G5DGMubK2bhG3wG6vH3Fmao QkZrTyV2VT21hZfS3UKoTAKBOCmjClT3AGruWoowj5Eg1Zv624MpaHwygQHXYjGOKdqO MGBca699CfEPXa8IQFADkHWVHVwYCEbveuXfOHwMCKUZgSC72s1aZqMJrYWAbMY8Mtp1 QVYw== X-Gm-Message-State: AGi0PuYZshIDDg6rQA5IbIlOFcQG2PBpdsYXU6jU+FZv1xwMSsBDXT6x 2GXmuvNtn1HHlsUD/6YOX/BkLFSKtiKTzg== X-Google-Smtp-Source: APiQypLDh6lMDtgGie6Z+7yeJ2lWoCQqg73d89+jsAM6PqfEay9oPEotVkQPcwA/1K4TRznP1uEkKw== X-Received: by 2002:a37:b285:: with SMTP id b127mr14547747qkf.292.1586044466672; Sat, 04 Apr 2020 16:54:26 -0700 (PDT) Received: from xubuntu.brasko.net (pool-96-253-36-110.prvdri.fios.verizon.net. [96.253.36.110]) by smtp.gmail.com with ESMTPSA id p9sm10216692qkg.34.2020.04.04.16.54.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Apr 2020 16:54:26 -0700 (PDT) Date: Sat, 4 Apr 2020 19:54:24 -0400 From: Bob Rossi To: gdb@sourceware.org Subject: source annotation now prints source line Message-ID: <20200404235424.GB5321@xubuntu.brasko.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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, 04 Apr 2020 23:54:28 -0000 Hi, When the source annotation is sent to the front end, the source line is now also sent to the front end console. I believe this commit introduced it, https://github.com/bminor/binutils-gdb/commit/ec8e2b6d3051f0b4b2a8eee9917898e95046c62f Now CGDB displays, (gdb) n 43 int i = 3; (gdb) Instead of, (gdb) n (gdb) CGDB is a front end, and so it has a source view to display the code to the user. Why did GDB decide to also print the line of code to the front end's console window as well? This is confusing. Thanks, Bob Rossi