From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Itai Berli Newsgroups: gmane.emacs.devel Subject: Re: Help getting started debugging Emacs on macOS Sierra Date: Fri, 11 Aug 2017 11:57:10 +0300 Message-ID: References: <87556904-541c-6ef5-5a2b-9b7199ffb603@cs.ucla.edu> <7b152bb1-5768-633c-8b7a-172cc6227a26@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11435b4c0297790556768204" X-Trace: blaine.gmane.org 1502441884 7832 195.159.176.226 (11 Aug 2017 08:58:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2017 08:58:04 +0000 (UTC) Cc: Emacs developers To: Paul Eggert , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 11 10:58:00 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dg5lX-0001iN-Ed for ged-emacs-devel@m.gmane.org; Fri, 11 Aug 2017 10:57:59 +0200 Original-Received: from localhost ([::1]:49872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dg5ld-0003XJ-SV for ged-emacs-devel@m.gmane.org; Fri, 11 Aug 2017 04:58:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dg5lT-0003Wf-KY for emacs-devel@gnu.org; Fri, 11 Aug 2017 04:57:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dg5lS-0005WN-He for emacs-devel@gnu.org; Fri, 11 Aug 2017 04:57:55 -0400 Original-Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:38678) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dg5lQ-0005VP-8Q; Fri, 11 Aug 2017 04:57:52 -0400 Original-Received: by mail-wm0-x22b.google.com with SMTP id f15so41972145wmg.1; Fri, 11 Aug 2017 01:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HCdPq2bgYvkvJlkm9bfJiBl5VXN4QwhbK/UfNaHFlNc=; b=Myodls8W6ibtUiuobQEOdU4+itOZECmwHYtXhL2fouf+5AmrYLjUTGJAHGQ6cbT3Ry ckSBqjKOyrRjKnk0Srv0HYk34inKRPbm/yGOgDZfkE1MRA5MSETb3cSscOOonwpb0NfQ QEPy4+TqSEqxTl8zgE6Quz2wEQsMaJAPGJsGmY8/P4fO1D/hIgb3Ycagzunj2Hz96y+V 7JXtdYDGWlfkcUKPkHd6I11gZUUsE7y1g8yVdGyMEJe8UiL8xDZQtFMFMv9H55oLrjPH qwNqr+KeiwQO/qHyWgP0yX4f806lA4utltZRqlQ88wZhzD/z+YBGfzLck3jTDPCeM2Z0 DVSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HCdPq2bgYvkvJlkm9bfJiBl5VXN4QwhbK/UfNaHFlNc=; b=MJ2aHcAVjN9r5H2YVGZILuKAwMSKqY3spuPrnvi9A7rX6obNzGYoQWUvOsABqQd5g4 8lB6pYItB7RhvqLW3pWhxcMIT6vZssFMc4rvIQ4McV0UOXkeaFYkyniHJAjS9/jBidTr Ci9Q3uq3Y5VZHtEjLeQ9kgK4uvAImS3gIJQlxFLQHKb6o3ManVUIn2BGeJ+v6aeGhGI2 2QZzsmA4LUdT3lcI1d3wptMasv55ogbEuTVpRzyzNLRNx9V+YYKXi2q/4NvSi3dDBzuC onDbtkdd3ugDE6xPHPD80JO+DX2VZdp+hdU5XLiO42/NKKSF8nY9j4BUhH7YMY4LUFuj JncQ== X-Gm-Message-State: AHYfb5g3gQqbpG1n6SIvV8J5iu5kN94ZrsivDEKXCfILP17Nr32ZWM5h gZK0uFQf+TMR1P2iBKLGyRsSQITCCw== X-Received: by 10.28.52.207 with SMTP id b198mr8771160wma.31.1502441870889; Fri, 11 Aug 2017 01:57:50 -0700 (PDT) Original-Received: by 10.28.197.196 with HTTP; Fri, 11 Aug 2017 01:57:10 -0700 (PDT) In-Reply-To: <7b152bb1-5768-633c-8b7a-172cc6227a26@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217417 Archived-At: --001a11435b4c0297790556768204 Content-Type: text/plain; charset="UTF-8" OK. So I've installed gdb, and rebuilt Emacs as Eli suggested. I have then imported the project to Eclipse IDE for C/C++ Developers (Oxygen Release 4.7.0). I have no trouble running the GUI from Eclipse. However, when when I try to debug it, I get the following error message: --- 'Launching emacs-26.0.50.1' has encountered a problem. Error in final launch sequence Failed to execute MI command: -exec-run Error message from debugger back end: During startup program terminated with signal ?, Unknown signal. During startup program terminated with signal ?, Unknown signal. --- On Fri, Aug 11, 2017 at 11:47 AM, Paul Eggert wrote: > Itai Berli wrote: > >> At any rate, gdb is not installed >> on my system. I can download and install it, but I'm a little hesitant, as >> I'm afraid it might clash with LLVM. >> > > It won't break anything; although GDB consumes LLVM's output, it does not > affect what LLVM does. > > You don't need to rerun autogen.sh merely because you re-ran 'configure'. > --001a11435b4c0297790556768204 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
OK. So I've installed gdb, and rebuilt Emacs as Eli su= ggested. I have then imported the project to Eclipse IDE for C/C++=C2=A0Developers (Oxygen Release 4.7.0). I have no = trouble running the GUI from Eclipse. However, when=C2=A0when I try to debu= g it, I get the following error message:

---=
'Launching emacs-26.0.50.1&= #39; has encountered a problem.
Error in final launch sequence
Failed to execute MI command:
-exec-run
Error message from debugger back end:
During startup program terminated with signal ?, Unknown si= gnal.
During startup prog= ram terminated with signal ?, Unknown signal.
---
<= br>
On Fri, Aug 11, 2017 at 11:47 AM, Paul Eggert= <eggert@cs.ucla.edu> wrote:
Itai Berli wrote:
At any rate, gdb is not installed
on my system. I can download and install it, but I'm a little hesitant,= as
I'm afraid it might clash with LLVM.

It won't break anything; although GDB consumes LLVM's output, it do= es not affect what LLVM does.

You don't need to rerun autogen.sh merely because you re-ran 'confi= gure'.

--001a11435b4c0297790556768204--