This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Emit a warning for ineffective set VAR = EXP command
- From: Tom Tromey <tromey at redhat dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: "gdb-patches\ at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Fri, 27 Apr 2012 10:04:52 -0600
- Subject: Re: [RFA] Emit a warning for ineffective set VAR = EXP command
- References: <8781499A-A489-42D0-80B1-75136331DBDB@adacore.com>
>>>>> "Tristan" == Tristan Gingold <gingold@adacore.com> writes:
Tristan> I simply propose to emit a warning if the expression is not an
Tristan> assignment (or a comma expression).
It seems reasonable to me.
Tristan> Ok for trunk ?
I think there should be a test case.
Tom