emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help getting started debugging Emacs on macOS Sierra


From: Itai Berli
Subject: Re: Help getting started debugging Emacs on macOS Sierra
Date: Fri, 11 Aug 2017 17:42:25 +0300

I have GDB 8.0, so it should work well, right? It appears, though, that there are fewer buttons in the debug toolbar when the debugger is started with gdb than when it is started with gud-gdb.

Eli, which function is the entry point for the bidi module? Where should I set a breakpoint for starters?

On Fri, Aug 11, 2017 at 5:18 PM, Eli Zaretskii <address@hidden> wrote:
> From: Itai Berli <address@hidden>
> Date: Fri, 11 Aug 2017 16:17:12 +0300
> Cc: Emacs developers <address@hidden>
>
> And what is the difference between gdb and gud-gdb?

They invoke 2 different interfaces between Emacs and GDB.  Depending
on what version of GDB you have there, "M-x gdb" might not be the best
choice, because it needs GDB 7.0 or later.

There's also this comment in gdb-mi.el, which is what "M-x gdb" uses:

  ;;; macOS:

  ;; GDB in Emacs on macOS works best with FSF GDB as Apple have made
  ;; some changes to the version that they include as part of macOS.
  ;; This requires GDB version 7.0 or later as earlier versions do not
  ;; compile on macOS.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]