aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2013-06-13 10:52:21 -0700
committerPaul Eggert2013-06-13 10:52:21 -0700
commit3865c463f57d20d37d3fa8eef90e44c1d87d02ee (patch)
tree281e11e5b4720c31f9da436b1a702efa14386e7b
parent9df2f513ea55d8abd75c379e1c531e5b573965ca (diff)
downloademacs-3865c463f57d20d37d3fa8eef90e44c1d87d02ee.tar.gz
emacs-3865c463f57d20d37d3fa8eef90e44c1d87d02ee.zip
* DEBUG: Document -fno-omit-frame-pointer.
-rw-r--r--etc/ChangeLog2
-rw-r--r--etc/DEBUG10
2 files changed, 6 insertions, 6 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index e7fdc25be51..a31c6ff944e 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,6 +1,6 @@
12013-06-13 Paul Eggert <eggert@cs.ucla.edu> 12013-06-13 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * DEBUG: Document -Og. 3 * DEBUG: Document -Og and -fno-omit-frame-pointer.
4 4
52013-06-05 Teodor Zlatanov <tzz@lifelogs.com> 52013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6 6
diff --git a/etc/DEBUG b/etc/DEBUG
index a76a60641c9..61a8ee05e27 100644
--- a/etc/DEBUG
+++ b/etc/DEBUG
@@ -27,11 +27,11 @@ described in the node "Auto-loading safe path" in the GDB user manual.
27is essential to compile Emacs with flags suitable for debugging. 27is essential to compile Emacs with flags suitable for debugging.
28With GCC 4.8 or later, you can invoke 'make' with CFLAGS="-Og -g3". 28With GCC 4.8 or later, you can invoke 'make' with CFLAGS="-Og -g3".
29With older GCC or non-GCC commpilers, you can use CFLAGS="-O0 -g3". 29With older GCC or non-GCC commpilers, you can use CFLAGS="-O0 -g3".
30With GCC and higher optimization levels such as -O2, at least compile 30With GCC and higher optimization levels such as -O2, the
31with the -fno-crossjumping option in CFLAGS. Failure to do so may 31-fno-omit-frame-pointer and -fno-crossjumping options are often
32make the compiler recycle the same abort call for all assertions in a 32essential. The latter prevents GCC from using the same abort call for
33given function, rendering the stack backtrace useless for identifying 33all assertions in a given function, rendering the stack backtrace
34the specific failed assertion. 34useless for identifying the specific failed assertion.
35 35
36** It is a good idea to run Emacs under GDB (or some other suitable 36** It is a good idea to run Emacs under GDB (or some other suitable
37debugger) *all the time*. Then, when Emacs crashes, you will be able 37debugger) *all the time*. Then, when Emacs crashes, you will be able