diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-05-27 17:37:45 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-05-27 17:37:45 +0000 |
commit | 12b795ad7be24ea01319ea6141bb77871094dc69 (patch) | |
tree | 8be1bc1b88a19fd17b16d6778a8aba4004089066 /gdb/ada-lang.c | |
parent | 5a2e11c715c856b32f3dda7414e2ddbefd4883b7 (diff) | |
download | gdb-12b795ad7be24ea01319ea6141bb77871094dc69.zip gdb-12b795ad7be24ea01319ea6141bb77871094dc69.tar.gz gdb-12b795ad7be24ea01319ea6141bb77871094dc69.tar.bz2 |
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.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 2391cd6..09b7102 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -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; |