This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: exp/2380: change right operand, reports on left one
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 7 Dec 2007 17:58:01 -0000
- Subject: Re: exp/2380: change right operand, reports on left one
- Reply-to: Daniel Jacobowitz <drow at false dot org>
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