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 12:55:38 +0300 Message-ID: References: <87556904-541c-6ef5-5a2b-9b7199ffb603@cs.ucla.edu> <7b152bb1-5768-633c-8b7a-172cc6227a26@cs.ucla.edu> <83valuqvmw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c1b5786198b05055677536e" X-Trace: blaine.gmane.org 1502445438 7577 195.159.176.226 (11 Aug 2017 09:57:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2017 09:57:18 +0000 (UTC) Cc: Paul Eggert , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 11 11:57:14 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 1dg6go-0001Xz-TC for ged-emacs-devel@m.gmane.org; Fri, 11 Aug 2017 11:57:10 +0200 Original-Received: from localhost ([::1]:53489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dg6gv-00011E-9l for ged-emacs-devel@m.gmane.org; Fri, 11 Aug 2017 05:57:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dg6g3-0000zJ-5k for emacs-devel@gnu.org; Fri, 11 Aug 2017 05:56:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dg6g2-0004O0-3U for emacs-devel@gnu.org; Fri, 11 Aug 2017 05:56:23 -0400 Original-Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:37086) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dg6g0-0004Mq-F9; Fri, 11 Aug 2017 05:56:20 -0400 Original-Received: by mail-wr0-x22b.google.com with SMTP id 33so11623786wrz.4; Fri, 11 Aug 2017 02:56:20 -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=qAoou8JdOjTkBpANYTyjtDf5CAgtgI88rRGIqFZ47P0=; b=M0+k4b2eiAmb+KUcjB/gAPTJJJ+kdGKxkf9k9HptTZYn+bWMKpP14LMWiRJrrUD7fH xeyYeBlHfACcCFOnuMeDBKllD2flMCcFWcr9E+00yqOMbhMPy7aa6g8Xqh/0zxiTyXAn pYnHFlXXcE8/urGmdQ8wN9Lj7gHJKWJ5dJGS5nBQ7nHOmHxxc2YpT5A7QjoaynACMNhs LY16h2xXUeodQOG9olApr2Bue1WqFhKn5A4bYZk9WmN61fCRHriG4wOi+4yvlrEFqCL9 sx2KdVjPM+ZeXhH8oVgibqzXPW02eS1Iv60m2DolPT1vacLKw9MxQh/nMISSJ5DDv/M5 7EZA== 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=qAoou8JdOjTkBpANYTyjtDf5CAgtgI88rRGIqFZ47P0=; b=P2Rv4vWDAkau/uvlqAYCeWcrjGkbwjF+VSu8dSy1a3BHjPCviDcpXL3ZNqjo4e07tI fAEp+ONKSyWU8nncidox7OGJzOsAzwVFHfUcXclu0H0y1QESctDbxuAM/r6gipHVmJzV hklZt5k2G2uNL4DM4xSufTs4Hzv5NjMXyMVGFBn6iPQFKBOPynYLWumcNBLoN9P38KnT YoBwXoLhCsg0k6EJva2WAkmAZzrAUSPaVQ8Z20XMN8INbYotRLCb1A81JB92PGsnTxwX JsJZ0Z53Ip25bzfsOVNZ9dE7Vs8mA6dERnwtqIXYG/cCvV1B4lIfC+3TU3Expy2EcdvB Vvqw== X-Gm-Message-State: AHYfb5hXXTaxvZaXXiDJenDdIMyvhFz7iYr+Tu3rwrFYa9tIllQ60FuR 73yASD9Mestur9D1WzvgYRfnOC+UgudA X-Received: by 10.223.170.217 with SMTP id i25mr9937200wrc.140.1502445378831; Fri, 11 Aug 2017 02:56:18 -0700 (PDT) Original-Received: by 10.28.197.196 with HTTP; Fri, 11 Aug 2017 02:55:38 -0700 (PDT) In-Reply-To: <83valuqvmw.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::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:217422 Archived-At: --94eb2c1b5786198b05055677536e Content-Type: text/plain; charset="UTF-8" Typing "b main" in the *gud* buffer results in the following error message: > Current buffer has no process On Fri, Aug 11, 2017 at 12:52 PM, Eli Zaretskii wrote: > > From: Itai Berli > > Date: Fri, 11 Aug 2017 12:27:01 +0300 > > Cc: Emacs developers > > > > Paul Eggert wrote: > > > > > type the GDB command "b Fexpand_file_name" to plant a breakpoint in > (say) Fexpand_file_name > > > > What do you mean by 'Fexpand_file_name'? The name of a file, or the name > of a function? > > It's the name of a function. > > > Could you give me > > a concrete example? Suppose, for instance, I wish to place a breakpoint > at the start of the 'main; function. How > > can I do so? > > "b main". "b" is a short for "break". > --94eb2c1b5786198b05055677536e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Typing "b main<RET>" in the *gud* buf= fer results in the following error message:

> C= urrent buffer has no process

On Fri, Aug 11, 2017 at 12:52 PM, Eli Zaretskii <eliz@gn= u.org> wrote:
> From: It= ai Berli <itai.berli@gmail.com>
> Date: Fri, 11 Aug 2017 12:27:01 +0300
> Cc: Emacs developers <
emacs-= devel@gnu.org>
>
> Paul Eggert wrote:
>
> > type the GDB command "b Fexpand_file_name" to plant a b= reakpoint in (say) Fexpand_file_name
>
> What do you mean by 'Fexpand_file_name'? The name of a file, o= r the name of a function?

It's the name of a function.

> Could you give me
> a concrete example? Suppose, for instance, I wish to place a breakpoin= t at the start of the 'main; function. How
> can I do so?

"b main".=C2=A0 "b" is a short for "break&q= uot;.

--94eb2c1b5786198b05055677536e--