From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#66575: [PATCH] Gud lldb support Date: Mon, 16 Oct 2023 15:30:23 +0200 Message-ID: <7A4E9221-C0A4-4A98-A80A-5FD58C95C014@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35317"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66575@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 16 15:30:51 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 1qsNgJ-00096j-TE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Oct 2023 15:30:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsNg7-00020K-Hy; Mon, 16 Oct 2023 09:30:39 -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 1qsNg5-00020C-MO for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2023 09:30:37 -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 1qsNg5-0000f1-D8 for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2023 09:30:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qsNgT-0001Mj-N8 for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2023 09:31:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Oct 2023 13:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66575 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 66575-submit@debbugs.gnu.org id=B66575.16974630595238 (code B ref 66575); Mon, 16 Oct 2023 13:31:01 +0000 Original-Received: (at 66575) by debbugs.gnu.org; 16 Oct 2023 13:30:59 +0000 Original-Received: from localhost ([127.0.0.1]:55491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsNgQ-0001MQ-Et for submit@debbugs.gnu.org; Mon, 16 Oct 2023 09:30:58 -0400 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:61610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsNgO-0001M8-8K for 66575@debbugs.gnu.org; Mon, 16 Oct 2023 09:30:57 -0400 Original-Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2b9c907bc68so55071071fa.2 for <66575@debbugs.gnu.org>; Mon, 16 Oct 2023 06:30:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697463025; x=1698067825; darn=debbugs.gnu.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=m7/5sJ3gMrzt2NVZ1g6jcRQWEppocsb/xSs0vtFtNk8=; b=dM2HIuTah3vC4OedyBIRAr/7fNPtvFYv/v87XPPSGJSyF4y7h1bNjGP4JrVHAZ3O1B deEAa+EaHeWlthiek3LnQnwO5kL2/si2ELPimgmDZM4x5z/tJmMbz4YKKWblOf/+WsLf 4Sc61dDtNd5nqCROspcJo9YX4Gum8lou+xjS/8A5ib4bEKgoEGNV3hC8EnPVjyHRYL+X 2DsJofxQoyRKeeDiSVKZzeFuq6YpmUQKAWPe3RKdHACjYMoByyqB1nZhoFd63mEAt/tB psO6xg1BZZQvZ1+qE2nA5bZnnBMAlhXuuruD3ol/+7xZZjHEtXHufftBUvHNnpWpokMf mnSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697463025; x=1698067825; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m7/5sJ3gMrzt2NVZ1g6jcRQWEppocsb/xSs0vtFtNk8=; b=H1WGTj52fGZA1J3UzRgB8KbdBVfTyx4OfBpzmKX5QePNxKKDcIyO6GYouXayB/QelT 6TWCBYHrkVhtXCLkrDxsmk7vlxrumw6XH5ymZTl1brsruZRIT+jQP80JoIW8YPB9hjX+ 17RJ4oL4hQ0e/Hjasuamp9Cm7plgi8M8aJCYqIGGz+ZQXXLWPHhTHdNBRK2+0oCG5CL0 bFrgRVGZdYSlKBp4YhpGyYoSmClL/9Fj6ABhukyI/YIP0HlLEsfABOygNAd4PJkLdoLp R5T3QzkDkF6LasCiemJCxWDmXvAiqjtFLS+HDnsXGnDgDSDXAJTBPxDYHCpLtv3aG5L6 yUVQ== X-Gm-Message-State: AOJu0Yyi9TUlx85syiwb1inLkEo3vyJbrW/1gmonwgRiK1qk6v0SdX+n zJgmuajvHnjKF+jZ06dirxE= X-Google-Smtp-Source: AGHT+IFG6LXrEEJxFJSR9v/X957886mgHQyqp+R1D/VE9vfPXBnfVz6jImVc6AFEqQLsuv/+d3qFug== X-Received: by 2002:a2e:a7d2:0:b0:2c5:1490:1687 with SMTP id x18-20020a2ea7d2000000b002c514901687mr6028251ljp.33.1697463024528; Mon, 16 Oct 2023 06:30:24 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id m12-20020a2e910c000000b002c5122f13b8sm1324720ljg.30.2023.10.16.06.30.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Oct 2023 06:30:24 -0700 (PDT) X-Mailer: Apple Mail (2.3654.120.0.1.15) 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:272568 Archived-At: > No MI support, because lldb-mi is no longer part of LLVM. So what is the currently blessed way to communicate with LLDB? I only have comments about trivialities here; someone else should deal = with the serious stuff. > +(eval-when-compile (require 'rx)) There is usually no need to import rx explicitly. The necessary macros = and functions are autoloaded. > +;; because gud-symbol uses their values if they are present. Tehir > +;; names are deducded from the minor-mode name. 'Their', 'deduced'. > + ;; frame #0: ...) at emacs.c:1310:9 [opt] > + (string-match (rx (and line-start (0+ blank) "frame" > + (0+ not-newline) " at " > + (group (1+ (not (any ":")))) > + ":" (You can write (not ":") instead of (not (any ":")) if you like.) If the file name can have an absolute directory part, then it may run = into trouble on Windows (C:\Some\Dir\File.c). Sad that we throw away the column number here, but perhaps that's just a = limitation of gud.el. Anyway, a big step up from not having any support at all. Thank you! Would you include a NEWS entry as well?