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
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue