This is the mail archive of the gdb-prs@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]

Re: exp/2380: change right operand, reports on left one


The following reply was made to PR exp/2380; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@false.org>
To: gin@mo.msk.ru
Cc: gdb-gnats@sources.redhat.com
Subject: Re: exp/2380: change right operand, reports on left one
Date: Fri, 7 Dec 2007 12:55:02 -0500

 On Fri, Dec 07, 2007 at 05:41:59PM -0000, gin@mo.msk.ru wrote:
 > (gdb) p Fcar
 > $ = {Lisp_Object (Lisp_Object)} 0x475900 <Fcar>
 > (gdb) p Feval
 > $ = {Lisp_Object (Lisp_Object)} 0x48e300 <Feval>
 > # completes normally
 > (gdb) set va $evms=Fcar($matsp)
 > (gdb) set va $evms=Feval($matsp)
 > Left operand of assignment is not a modifiable lvalue.
 
 What does "set var $evms=Fcar($matsp)" again say at this point?
 How about "set var $evms = 1"?
 
 -- 
 Daniel Jacobowitz
 CodeSourcery


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