Rename to allow_rust_tests
[binutils-gdb.git] / gdb / value.h
index 089af59fbd854220b756c36090210b8f773b4847..1e80b74b41f9a9c5e871de0cda895b8e560e860b 100644 (file)
@@ -711,6 +711,10 @@ extern struct value *value_from_component_bitsize (struct value *whole,
 extern struct value *value_at (struct type *type, CORE_ADDR addr);
 extern struct value *value_at_lazy (struct type *type, CORE_ADDR addr);
 
+/* Like value_at, but ensures that the result is marked not_lval.
+   This can be important if the memory is "volatile".  */
+extern struct value *value_at_non_lval (struct type *type, CORE_ADDR addr);
+
 extern struct value *value_from_contents_and_address_unresolved
      (struct type *, const gdb_byte *, CORE_ADDR);
 extern struct value *value_from_contents_and_address (struct type *,