emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_


From: Richard M. Stallman
Subject: Re: crash: memcpy, XChangeProperty, XSetTextProperty, XSetWMIconName, x_set_name_internal
Date: Wed, 07 Dec 2005 12:06:59 -0500

    > I always use -O0 -fno-inline, since that makes debugging easier.

    It can also make the bug disappear, thus making debugging impossible.

If the bug depends on GCC options, that offers another way
to debug it.  You try compiling various parts of Emacs with
different options until you narrow it down to one function.
Then you read the assembler code for that function, made
in the two different ways, and see what's different.  Or you
compare the assembler code that fails with the source code
and see where the compiler produced invalid code.




reply via email to

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