Manuel Giraud <[email protected]> writes:

> Jeremie Courreges-Anglas <[email protected]> writes:
>
>> On Sat, Jun 27, 2026 at 05:32:25PM +0200, Manuel Giraud wrote:
>> [...]
>>> But now I'm wondering why I have such a misbehavior by building myself
>>> from source (note that I need this because I'm working on the main Emacs
>>> branch).
>>
>> I'd rather not compile emacs from source right now, but here are two
>> guesses:
>> 1. the compilation doesn't use the same CFLAGS in the port and in the
>>   git main branch
>> 2. the automatic loading of additional gdb helpers eats a lot of ram
>
> Thanks Jeremie!  That was this second point.  I was doing 'M-x gdb' from
> the Emacs source directory which consequently loads the .gdbinit here.
> Calling the same command from a different directory and now the Emacs
> subprocess is normally fast and usable.
>
> This bundled .gdbinit defines lots of useful commands but I could select
> some only.  Thanks again.

FTR, it wasn't the .gdbinit either but the recommended "-g3" CFLAGS.  A
simple "-g" does not expose this problem.
-- 
Manuel Giraud

Reply via email to