all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Toon Claes <toon@iotcl.com>
Cc: dancol@dancol.org, emacs-devel@gnu.org, rms@gnu.org, perry@piermont.com
Subject: Re: lldb support
Date: Thu, 10 Nov 2016 17:57:48 +0200	[thread overview]
Message-ID: <83fumzfhtv.fsf@gnu.org> (raw)
In-Reply-To: <m28tsrwufe.fsf@iotcl.com> (message from Toon Claes on Thu, 10 Nov 2016 10:33:41 +0100)

> From: Toon Claes <toon@iotcl.com>
> Cc: "Perry E. Metzger" <perry@piermont.com>,  dancol@dancol.org,  rms@gnu.org,  emacs-devel@gnu.org
> Date: Thu, 10 Nov 2016 10:33:41 +0100
> 
> > Daniel said lldb supports the MI protocol.  If that is true, lldb is
> > already supported.  Can someone try that and see if that works, and if
> > not, tell why?
> >
> > Thanks.
> 
> The tool `lldb-mi` is not installed on macOS by default (on 10.11 El Capitan
> that is). But it can be installed with Homebrew.
> 
>     brew install llvm --with-lldb --with-clang
> 
> But that is outside the question.
> I tried to use it:
> 
>     M-x gud-gdb /usr/local/opt/llvm/bin/lldb-mi hello
> 
> and when setting a breakpoint I got the following error:
> 
>     error: command 'breakpoint' did not recognize 'hello .swift:28' as valid (subcommand might be invalid).
>     ambiguous command 'break'. Possible completions:
>     	breakpoint
> 
> So, no, it is not working at the moment.

Thanks.

"M-x gud-gdb" doesn't use the MI protocol, so this is not the command
that should be used to probe that.

Instead, please invoke "M-x gdb RET".  It will suggest a command line
that assumes GDB; please change it as lldb-mi requires.

If that starts okay and succeeds to load the debuggee, please see if
the basic features work: setting breakpoints by clicking on the
fringe, running the program from the tool-bar buttons and from the GUD
buffer, displaying the various windows ("M-x gdb-many-windows"), etc.

Thanks again.



  reply	other threads:[~2016-11-10 15:57 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 20:05 lldb support Perry E. Metzger
2016-11-07 20:20 ` Stefan Monnier
2016-11-08  3:08   ` Perry E. Metzger
2016-11-08 13:19     ` Stefan Monnier
2016-11-08 19:58       ` John Wiegley
2016-11-09  0:54     ` Richard Stallman
2016-11-09  1:17       ` Daniel Colascione
2016-11-09  3:42         ` Eli Zaretskii
2016-11-10  0:24         ` Richard Stallman
2016-11-10  0:26           ` Daniel Colascione
2016-11-11  1:26             ` Richard Stallman
2016-11-11  4:24               ` Stefan Monnier
2016-11-11  4:46               ` Nikolaus Rath
2016-11-12  0:42                 ` Richard Stallman
2016-11-11  9:44               ` Philippe Vaucher
2016-11-11 17:11                 ` Stefan Monnier
2016-11-11 17:42                 ` Stefan Huchler
2016-11-11 17:47                 ` John Wiegley
2016-11-12  0:59                   ` Stefan Huchler
2016-11-12 22:30                   ` Richard Stallman
2016-11-14 21:58                     ` John Wiegley
2016-11-16  4:13                       ` Joseph Mingrone
2016-11-16 14:27                         ` Stefan Monnier
2016-12-25 20:43                       ` Richard Stallman
2016-11-11 19:01               ` Sam Steingold
2016-11-12  1:02                 ` Stefan Huchler
2016-11-12 22:25                 ` Richard Stallman
2016-11-12  0:54               ` Perry E. Metzger
2016-11-12 22:30                 ` Richard Stallman
2016-11-10  1:51           ` Perry E. Metzger
2016-11-10  1:57           ` Perry E. Metzger
2016-11-10  3:43             ` Eli Zaretskii
2016-11-10  9:33               ` Toon Claes
2016-11-10 15:57                 ` Eli Zaretskii [this message]
2016-11-10 16:27                   ` Toon Claes
2016-11-10 17:19                     ` Eli Zaretskii
2016-11-12  7:04                       ` Toon Claes
2016-11-12  7:47                         ` Eli Zaretskii
2017-01-04 21:35                       ` Toon Claes
2016-11-10 13:58               ` Perry E. Metzger
2016-11-10 16:02                 ` Eli Zaretskii
2016-11-09  1:37       ` John Wiegley
2016-11-09  3:06       ` Perry E. Metzger
2016-11-10  0:23         ` Richard Stallman
2016-11-10  1:18           ` John Mastro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fumzfhtv.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    --cc=perry@piermont.com \
    --cc=rms@gnu.org \
    --cc=toon@iotcl.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.