all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Manuel Giraud via "Emacs development discussions." <emacs-devel@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: michael.albinus@gmx.de,  emacs-devel@gnu.org
Subject: Re: Emacs without threads
Date: Fri, 22 Dec 2023 15:44:19 +0100	[thread overview]
Message-ID: <87cyuy9u0s.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <83edfefh1b.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 Dec 2023 16:28:16 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Manuel Giraud <manuel@ledu-giraud.fr>
>> Cc: Michael Albinus <michael.albinus@gmx.de>,  emacs-devel@gnu.org
>> Date: Fri, 22 Dec 2023 14:55:32 +0100
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > Manuel, would you please describe in detail how you debug such an
>> > Emacs?  That is, how you start GDB in gdb-mi, and how you "connect"
>> > GDB to the Emacs session launched as above?
>> 
>> Nothing special here.  I just do 'M-x gdb' from the Emacs src directory
>> so it automatically propose to lauch "egdb -i=mi emacs" and I hit enter.
>> (don't mind the 'e' in "egdb" it is the name of binary for recent GDB on
>> OpenBSD)
>
> And "emacs" in the above "M-x gdb" command is a shell script that
> starts Emacs via dbus-launch?  If not, i.e. if "emacs" is the Emacs
> binary itself, then how is dbus-launch involved in this?

No it is not the sub emacs (into GDB) that calls dbus-launch, it's the
top level Emacs:

          - my .xsession launches "exec dbus-launch --sh-syntax
            --exit-with-x11 emacs"
            
          - Now I am in Emacs, I go to Emacs src directory and I do 'M-x
            gdb'

          - This gdb session launches another sub emacs to be debugged
-- 
Manuel Giraud



  reply	other threads:[~2023-12-22 14:44 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-14 10:36 Emacs without threads Manuel Giraud via Emacs development discussions.
2023-12-14 11:16 ` Eli Zaretskii
2023-12-14 12:43   ` Manuel Giraud via Emacs development discussions.
2023-12-14 13:01     ` Eli Zaretskii
2023-12-14 14:12       ` Manuel Giraud via Emacs development discussions.
2023-12-14 16:34         ` Eli Zaretskii
2023-12-15 11:08           ` Manuel Giraud via Emacs development discussions.
2023-12-15 12:11             ` Eli Zaretskii
2023-12-15 13:58               ` Manuel Giraud via Emacs development discussions.
2023-12-16 13:13                 ` Eli Zaretskii
2023-12-16 19:13                   ` Manuel Giraud via Emacs development discussions.
2023-12-16 19:26                     ` Eli Zaretskii
2023-12-17 18:43                     ` Manuel Giraud via Emacs development discussions.
2023-12-18  3:24                       ` Eli Zaretskii
2023-12-18  6:53                         ` Manuel Giraud via Emacs development discussions.
2023-12-18 17:43                           ` Eli Zaretskii
2023-12-22  9:20                             ` Michael Albinus
2023-12-22 11:48                               ` Eli Zaretskii
2023-12-22 12:11                                 ` Michael Albinus
2023-12-22 13:55                                 ` Manuel Giraud via Emacs development discussions.
2023-12-22 14:28                                   ` Eli Zaretskii
2023-12-22 14:44                                     ` Manuel Giraud via Emacs development discussions. [this message]
2023-12-22 14:54                                       ` Eli Zaretskii
2023-12-22 14:45                                     ` Michael Albinus

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=87cyuy9u0s.fsf@ledu-giraud.fr \
    --to=emacs-devel@gnu.org \
    --cc=eliz@gnu.org \
    --cc=manuel@ledu-giraud.fr \
    --cc=michael.albinus@gmx.de \
    /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.