diff options
| -rw-r--r-- | etc/ChangeLog | 2 | ||||
| -rw-r--r-- | etc/DEBUG | 10 |
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 @@ | |||
| 1 | 2013-06-13 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-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 | ||
| 5 | 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com> | 5 | 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com> |
| 6 | 6 | ||
| @@ -27,11 +27,11 @@ described in the node "Auto-loading safe path" in the GDB user manual. | |||
| 27 | is essential to compile Emacs with flags suitable for debugging. | 27 | is essential to compile Emacs with flags suitable for debugging. |
| 28 | With GCC 4.8 or later, you can invoke 'make' with CFLAGS="-Og -g3". | 28 | With GCC 4.8 or later, you can invoke 'make' with CFLAGS="-Og -g3". |
| 29 | With older GCC or non-GCC commpilers, you can use CFLAGS="-O0 -g3". | 29 | With older GCC or non-GCC commpilers, you can use CFLAGS="-O0 -g3". |
| 30 | With GCC and higher optimization levels such as -O2, at least compile | 30 | With GCC and higher optimization levels such as -O2, the |
| 31 | with the -fno-crossjumping option in CFLAGS. Failure to do so may | 31 | -fno-omit-frame-pointer and -fno-crossjumping options are often |
| 32 | make the compiler recycle the same abort call for all assertions in a | 32 | essential. The latter prevents GCC from using the same abort call for |
| 33 | given function, rendering the stack backtrace useless for identifying | 33 | all assertions in a given function, rendering the stack backtrace |
| 34 | the specific failed assertion. | 34 | useless 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 |
| 37 | debugger) *all the time*. Then, when Emacs crashes, you will be able | 37 | debugger) *all the time*. Then, when Emacs crashes, you will be able |