port gdb debugging emacs

Manuel Giraud <[email protected]> Fri, 26 Jun 2026 15:02:53 +0200
Newsgroups gmane.os.openbsd.misc
Message-ID <[email protected]>
Hi,

I'm trying to debug Emacs with GDB from ports (version 17.2) but
whenever I start doing so egdb upfront takes about 13% of memory (1 GB).

After that, when I try to run the sub-emacs process, egdb continues to
grow up to 50% of memory (4 GB).  Then the sub-emacs process is barely
useable and the debugging session terminates with the following error:

Recursive internal problem.
Abort trap

How could I fix this?  Does anybody uses egdb successfully on
medium/large programs?

Thanks.
-- 
Manuel Giraud