This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog eval.c value.c value.h tests ...
- From: kwerner at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 3 Nov 2010 13:49:39 -0000
- Subject: src/gdb ChangeLog eval.c value.c value.h tests ...
CVSROOT: /cvs/src
Module name: src
Changes by: kwerner@sourceware.org 2010-11-03 13:49:39
Modified files:
gdb : ChangeLog eval.c value.c value.h
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: exprs.exp
Log message:
gdb:
* value.h (value_non_lval): Declare.
* value.c (value_non_lval): New function.
* eval.c (evaluate_subexp_standard) <UNOP_POSTINCREMENT,
UNOP_POSTDECREMENT>: Call value_non_lval to ensure to return a
non-lvalue.
gdb/testsuite:
* gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12287&r2=1.12288
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/eval.c.diff?cvsroot=src&r1=1.140&r2=1.141
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/value.c.diff?cvsroot=src&r1=1.113&r2=1.114
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/value.h.diff?cvsroot=src&r1=1.162&r2=1.163
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2493&r2=1.2494
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/exprs.exp.diff?cvsroot=src&r1=1.19&r2=1.20