This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

New warning in GDB 7.5


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]