From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#66604: [PATCH] Gud LLDB completions Date: Tue, 24 Oct 2023 06:35:47 +0200 Message-ID: References: <13AC7AD2-230A-4FAC-81D9-75FBE53456F8@gmail.com> <27BF071E-2E0D-49F9-B595-E8A560436C50@gmail.com> <2577C531-285B-49CC-BFAA-3D3A3A0B986D@gmail.com> <22B5EBE2-945E-413F-BCC6-8693AB90988C@gmail.com> <45D77CAF-8694-434D-90BC-448886FBB68E@gmail.com> <68E433F5-C7A5-4DCB-BF2B-FE1054F71E69@gmail.com> <012EA2B6-279A-4A83-8C63-00EDB44A14CF@gmail.com> <38B50C63-09EE-4BA7-BBC5-ABEF6E213CC3@gmail.com> <539642B7-3753-414E-956B-1ABC657C623B@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19744"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 66604@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 24 06:36:48 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qv99s-00051P-Aq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Oct 2023 06:36:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qv99f-0003RQ-Ee; Tue, 24 Oct 2023 00:36:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qv99d-0003Mk-UG for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 00:36:33 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qv99d-0007xB-LX for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 00:36:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qv9A6-0005Fw-IR for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 00:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Oct 2023 04:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66604 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 66604-submit@debbugs.gnu.org id=B66604.169812219020160 (code B ref 66604); Tue, 24 Oct 2023 04:37:02 +0000 Original-Received: (at 66604) by debbugs.gnu.org; 24 Oct 2023 04:36:30 +0000 Original-Received: from localhost ([127.0.0.1]:52712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qv99a-0005F6-8e for submit@debbugs.gnu.org; Tue, 24 Oct 2023 00:36:30 -0400 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:60658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qv99V-0005Ek-8P for 66604@debbugs.gnu.org; Tue, 24 Oct 2023 00:36:28 -0400 Original-Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-9ad8a822508so603100366b.0 for <66604@debbugs.gnu.org>; Mon, 23 Oct 2023 21:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698122149; x=1698726949; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ATR/j8kNPfzFuRTRvVBejXAMcYmkqcxmKTJkpJmPr1o=; b=giSf9NuXxdKpnlXlkfOoJjSjZZgwjtjRwIXFE+o+CxoHWawNjAmp27MmSebc+DnVUt 4IHSEqZl04OCjgWFHekyR6cRSIuxgPAZx4zXrMvEGiVeFiVtkFaSzgeY0eHfDJfUJCS2 jo7kz3rqDTsVe7vIA0jW/4a69O1i8QhJCAeFIIAv5FRH6buNc1bNFFa+/n6Wxg9F1dWw 870o29z8gPU9lLa9DpfqrkrEtOpFSeVBAshvcPPIR40nSvrNEZEJl9Yqic5zYT/Mlbp2 +XvsLNY5O2cp50GX4SoQstqQ6HkfSF1ZkxhxTosePFRsFqHzHJ692MVqh6Zg7aEcsG++ WXfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698122149; x=1698726949; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ATR/j8kNPfzFuRTRvVBejXAMcYmkqcxmKTJkpJmPr1o=; b=H+DBicIicoWnl0BxOXZKXO6y2p6TuOLu6xzbVdhw58LUxXD0iFgYafQ37UjKevD7VZ gF9Uu+IEHr8m9udedvO3Ny9rrMRwgCVnwCOMa8uSGqJXdQmtEfuf/8JvNWokROPywq/S orjT+Fuh4upxMwMkKK0kqf7SxAJV2gEMISpAcdI31ZgmkwjDjAIzNZXkoyKhWYftYajD eIU+IjmguhqfKF+UCm/h/Tn1xtfoL0NZaVzKx9fGuj2rZ61QeVLJ0JPtv4+oA5J7Blhz obPMpYTWAvWMe6tSRESfPxDa0JKISug+Be/mMPJLmXaANDtlvpLyGGmqqkP57a7QPggw pqyg== X-Gm-Message-State: AOJu0YwlnUMPOqCTm1OyU6FthQ2yPvJgHhug8p4r5s+eX6RoMBfjw+i+ 5bS7AYX7VfRhNJacCcAUz9Sunf//n6Q= X-Google-Smtp-Source: AGHT+IEluUaPYO0drNpgqsWomuCYnuwxrRD4yCTFe7ffZgc7IJDn5gUSLYU2gxmOyN+UVQh73nfL6Q== X-Received: by 2002:a17:906:7309:b0:9a6:426f:7dfd with SMTP id di9-20020a170906730900b009a6426f7dfdmr9090078ejc.66.1698122148500; Mon, 23 Oct 2023 21:35:48 -0700 (PDT) Original-Received: from Pro.fritz.box (pd9e36d06.dip0.t-ipconnect.de. [217.227.109.6]) by smtp.gmail.com with ESMTPSA id 30-20020a170906209e00b009a1b857e3a5sm7557465ejq.54.2023.10.23.21.35.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 21:35:48 -0700 (PDT) In-Reply-To: <539642B7-3753-414E-956B-1ABC657C623B@gmail.com> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Mon, 23 Oct 2023 22:51:38 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273076 Archived-At: Mattias Engdeg=C3=A5rd writes: > There's one annoyance though. Normally, lldb shows frame information as > > frame #0: 0x000000010182f09c emacs`redisplay_internal at xdisp.c:1668= 7:8 [opt] > > but now we get the less informative and much less readable > > gud-info: (gud-lldb-stop :file ////Users/mattias/emacs/src/xdisp.c///= :line 16687 :column 8) > > Surely we can have it both ways -- keep the standard frame-format and > append some machine-readable stuff on a separate line which is then > removed in the filter function so that the user doesn't need to see > it? That would also be my preference, but I haven't found out how to do it. The idea would have been to append the Gud format to frame-format, so that the possibly user-defined frame-format stays visible. I found the output of "settings show frame-format" too difficult to parse in the general case, and LLDB's Python API didn't give me a clue how to get at the value of frame-format so that I could perhaps produce something that's easier to handle. So, that's an area for improvement. Another area for improvement is possibly remote debugging, BTW. I can't get remote debugging to work between two macs, so I don't know how LLDB behaves when debugging remotely.