* printcmd.c (set_command): Emit a warning if the expression is not an assignment. testsuite/ 2012-05-04 Tristan Gingold <gingold@adacore.com> * gdb.base/set-noassign.exp: New test.