GNU bug report logs -
#66575
[PATCH] Gud lldb support
Previous Next
Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Date: Mon, 16 Oct 2023 12:01:02 UTC
Severity: normal
Tags: patch
Fixed in version 30.1
Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 66575 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Mattias Engdegård <mattias.engdegard <at> gmail.com> writes:
>> No MI support, because lldb-mi is no longer part of LLVM.
>
> So what is the currently blessed way to communicate with LLDB?
Don't really know, I'm afraid.
> 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.)
Both Fixed in the attached patch. I also found another spelling error
in an option passed to 'breakpoint set -joint...'.
> If thñe file name can have an absolute directory part, then it may run
> into trouble on Windows (C:\Some\Dir\File.c).
I guess I'll leave that as an exercise for someone having Windows :-).
>
> Sad that we throw away the column number here, but perhaps that's just
> a limitation of gud.el.
Indeed.
>
> Anyway, a big step up from not having any support at all. Thank you!
👍
>
> Would you include a NEWS entry as well?
When I get this into master, yes of course. I'm not yet convinced of
that :-).
[0001-Gud-lldb-support.patch (text/x-patch, attachment)]
This bug report was last modified 1 year and 278 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.