aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit4
-rw-r--r--src/ChangeLog7
2 files changed, 9 insertions, 2 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index b703842f4cf..de980c6345f 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -18,9 +18,9 @@
18# Boston, MA 02110-1301, USA. 18# Boston, MA 02110-1301, USA.
19 19
20# Force loading of symbols, enough to give us VALBITS etc. 20# Force loading of symbols, enough to give us VALBITS etc.
21set main 21set $dummy = main + 8
22# With some compilers, we need this to give us struct Lisp_Symbol etc.: 22# With some compilers, we need this to give us struct Lisp_Symbol etc.:
23set Fmake_symbol 23set $dummy = Fmake_symbol + 8
24 24
25# Find lwlib source files too. 25# Find lwlib source files too.
26dir ../lwlib 26dir ../lwlib
diff --git a/src/ChangeLog b/src/ChangeLog
index bdfb4e3fcb1..bc18c0eafee 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12012-08-20 Eli Zaretskii <eliz@gnu.org>
2
3 * .gdbinit: Use "set $dummy = ..." to avoid warnings from GDB 7.5
4 and later about non-assignments with no effect. See discussion at
5 http://sourceware.org/ml/gdb-patches/2012-08/msg00518.html for
6 details.
7
12012-08-20 Dmitry Antipov <dmantipov@yandex.ru> 82012-08-20 Dmitry Antipov <dmantipov@yandex.ru>
2 9
3 Inline setter functions for Lisp_Objects slots of struct specbinding. 10 Inline setter functions for Lisp_Objects slots of struct specbinding.