aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-02 21:36:17 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-02 21:36:17 +0000
commit46615f07c3db91f7a0f138baec128749604dca43 (patch)
tree0c281bc164e338ce3b4bc9aedc5821ccab65a223 /gdb/value.h
parent1b9afc0454112ae9ac41f6e8ee45ca915f97adc8 (diff)
downloadgdb-46615f07c3db91f7a0f138baec128749604dca43.zip
gdb-46615f07c3db91f7a0f138baec128749604dca43.tar.gz
gdb-46615f07c3db91f7a0f138baec128749604dca43.tar.bz2
2005-02-02 Andrew Cagney <cagney@gnu.org>
* value.h (VALUE_CONTENTS_ALL): Delete. (value_contents_all): Declare. * value.c (value_contents_all): New function. * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update. * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/value.h b/gdb/value.h
index ed4d9ee..ba435bc 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -203,9 +203,7 @@ extern bfd_byte *value_contents_raw (struct value *);
pointer by the embedded_offset value. */
extern bfd_byte *value_contents_all_raw (struct value *);
-#define VALUE_CONTENTS_ALL(val) \
- ((void) (VALUE_LAZY(val) && value_fetch_lazy(val)), \
- (val)->aligner.contents)
+extern const bfd_byte *value_contents_all (struct value *);
extern int value_fetch_lazy (struct value *val);