[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gtk3, emacs 24 and gnome shell
From: |
Eli Zaretskii |
Subject: |
Re: gtk3, emacs 24 and gnome shell |
Date: |
Sat, 29 Oct 2011 10:55:15 +0200 |
> From: Michael Welsh Duggan <address@hidden>
> Date: Fri, 28 Oct 2011 19:30:03 -0400
> Cc: Tassilo Horn <address@hidden>, address@hidden
>
> In order to debug when running as a daemon, you need to add something
> like the following to your src/.gdbinit file:
>
> # Follow emacs when running using --daemon. We need to follow the
> # child of the daemonizing fork, and go back to following parents
> # shortly afterward.
> break main
> commands
> silent
> set follow-fork-mode child
> continue
> end
> break init_signals
> commands
> silent
> set follow-fork-mode parent
> continue
> end
This should be a good addition to etc/DEBUG. However, I wonder:
. would "tbreak" be a better choice?
. why do you need to put a breakpoint with identical commands in two
different functions? isn't the code path of becoming a daemon
deterministic enough to have it only in `main'?
- Re: gtk3, emacs 24 and gnome shell, (continued)
- Re: gtk3, emacs 24 and gnome shell, Chong Yidong, 2011/10/25
- Re: gtk3, emacs 24 and gnome shell, Tassilo Horn, 2011/10/25
- Re: gtk3, emacs 24 and gnome shell, Rasmus, 2011/10/25
- Re: gtk3, emacs 24 and gnome shell, Tassilo Horn, 2011/10/25
- Re: gtk3, emacs 24 and gnome shell, Rasmus, 2011/10/27
- Re: gtk3, emacs 24 and gnome shell, Paul Eggert, 2011/10/27
- Re: gtk3, emacs 24 and gnome shell, Tassilo Horn, 2011/10/28
- Re: gtk3, emacs 24 and gnome shell, Eli Zaretskii, 2011/10/28
- Re: gtk3, emacs 24 and gnome shell, Rasmus Pank Roulund, 2011/10/28
- Re: gtk3, emacs 24 and gnome shell, Michael Welsh Duggan, 2011/10/28
- Re: gtk3, emacs 24 and gnome shell,
Eli Zaretskii <=
- Re: gtk3, emacs 24 and gnome shell, Michael Welsh Duggan, 2011/10/29
- Re: gtk3, emacs 24 and gnome shell, Michael Welsh Duggan, 2011/10/29