emacs-devel
[Top][All Lists]
Advanced

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

Re: My Emacs unicode 2 crash again when I do some *Replace String (M-%)*


From: David Kastrup
Subject: Re: My Emacs unicode 2 crash again when I do some *Replace String (M-%)*, I give the debug informations under gdb in the attachments.
Date: Sun, 11 Mar 2007 22:32:17 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> Cc: Miles Bader <address@hidden>,  address@hidden
>> From: Stefan Monnier <address@hidden>
>> Date: Fri, 09 Mar 2007 17:59:53 -0500
>> 
>> I think -O (aka -O1) should be debug-friendly (so there shouldn't be any
>> need for -Odebug).
>
> I disagree.  -O1 selects optimizations based on how expensive they are
> at compile time, not on how badly they disrupt debugging.  Many
> optimizations that are part of -O2 do no harm at all to debugging, so
> there's no reason to give them up.

Well, how about explicitly disabling a few debugging-unfriendly
options when we are compiling with -g?  One particularly nasty option
can be removed with -fno-cross-jumping: without that, post-mortem
analysis of failed assertions becomes rather erratic (backtraces point
to nonsensical places).  This has cost me a lot of grief once.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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