emacs-devel
[Top][All Lists]
Advanced

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

Re: Odd gdb problem


From: Lars Ingebrigtsen
Subject: Re: Odd gdb problem
Date: Wed, 08 Dec 2021 01:29:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Philipp, after this change, I can no longer debug Emacs with gdb on
> Debian/bookworm.  (It works fine with older gdb versions.)

I've confirmed that simply disabling it on the current trunk makes the
problem disappear, so it's definitely the spawn code:

diff --git a/src/callproc.c b/src/callproc.c
index c949fff4db..ec44e982f3 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -37,7 +37,7 @@ Copyright (C) 1985-1988, 1993-1995, 1999-2021 Free Software 
Foundation,
   && defined HAVE_DECL_POSIX_SPAWN_SETSID                   \
   && HAVE_DECL_POSIX_SPAWN_SETSID == 1
 # include <spawn.h>
-# define USABLE_POSIX_SPAWN 1
+# define USABLE_POSIX_SPAWN 0
 #else
 # define USABLE_POSIX_SPAWN 0
 #endif


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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