This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
New warning in GDB 7.5
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb-patches at sourceware dot org
- Date: Sat, 18 Aug 2012 23:03:25 +0300
- Subject: New warning in GDB 7.5
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
When starting GDB 7.5 from the src directory of the Emacs source tree,
GDB now emits warnings that GDB 7.4.1 didn't:
warning: Expression is not an assignment (and might have no effect)
warning: Expression is not an assignment (and might have no effect)
These come from the following 2 lines in src/.gdbinit:
# Force loading of symbols, enough to give us VALBITS etc.
set main
# With some compilers, we need this to give us struct Lisp_Symbol etc.:
set Fmake_symbol
The comments explain why they are needed.
Why was the new warning added? what problem(s) does it solve?