aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2010-12-01 16:49:41 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2010-12-01 16:49:41 +0000
commit4aac0db70f3720574c1e9102b7e2ca0d8c3390f6 (patch)
tree83f19377832460729528df099d1509c985b35d07 /gdb/NEWS
parent04276a0cf59acc47556856a1a6e9511fb5a98d3b (diff)
downloadgdb-4aac0db70f3720574c1e9102b7e2ca0d8c3390f6.zip
gdb-4aac0db70f3720574c1e9102b7e2ca0d8c3390f6.tar.gz
gdb-4aac0db70f3720574c1e9102b7e2ca0d8c3390f6.tar.bz2
* valops.c (value_assign): Returned value is never lazy. If a
C++ class type is returned, fix incorrect enclosing type / embedded offset. If internal variable is returned, allocate new internalvar value using value_of_internalvar. * NEWS: Document changes in behavior of "print x = 0" and similar expressions.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 38478c4..f1efcd2 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -46,6 +46,12 @@
feature requires proper debuginfo support from the compiler; it
was added to GCC 4.5.
+* GDB now follows GCC's rules on accessing volatile objects when
+ reading or writing target state during expression evaluation.
+ One notable difference to prior behavior is that "print x = 0"
+ no longer generates a read of x; the value of the assignment is
+ now always taken directly from the value being assigned.
+
* GDB now has some support for using labels in the program's source in
linespecs. For instance, you can use "advance label" to continue
execution to a label.