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 | |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ada-lang.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bc7d651..f749c08 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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; |