From 12b795ad7be24ea01319ea6141bb77871094dc69 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 27 May 2010 17:37:45 +0000 Subject: [PATCH] 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 * ada-lang.c (ensure_lval): Replace call to value_contents_raw by call to value_contents. --- gdb/ChangeLog | 5 +++++ gdb/ada-lang.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bc7d651ffd9..f749c08fdd3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-05-27 Joel Brobecker + + * ada-lang.c (ensure_lval): Replace call to value_contents_raw + by call to value_contents. + 2010-05-27 Ozkan Sezer * MAINTAINERS: Add myself for write after approval privileges. diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 2391cd64537..09b7102d52e 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; -- 2.30.2