Replace call to value_contents_raw by call to value_contents.
This is something that Tom spotted. It shouldn't make much of a difference in practice with the current code, but Tom is planning on making some changes (bitwise optimized-out tracking) in value_contents... 2010-05-27 Joel Brobecker <brobecker@adacore.com> * ada-lang.c (ensure_lval): Replace call to value_contents_raw by call to value_contents.
This commit is contained in:
parent
5a2e11c715
commit
12b795ad7b
@ -1,3 +1,8 @@
|
||||
2010-05-27 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* ada-lang.c (ensure_lval): Replace call to value_contents_raw
|
||||
by call to value_contents.
|
||||
|
||||
2010-05-27 Ozkan Sezer <sezeroz@gmail.com>
|
||||
|
||||
* MAINTAINERS: Add myself for write after approval privileges.
|
||||
|
@ -3884,7 +3884,7 @@ ensure_lval (struct value *val, struct gdbarch *gdbarch, CORE_ADDR *sp)
|
||||
}
|
||||
VALUE_LVAL (val) = lval_memory;
|
||||
|
||||
write_memory (value_address (val), value_contents_raw (val), len);
|
||||
write_memory (value_address (val), value_contents (val), len);
|
||||
}
|
||||
|
||||
return val;
|
||||
|
Loading…
x
Reference in New Issue
Block a user