diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-06-15 19:19:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-06-15 19:19:23 +0000 |
commit | d6dd581ead67d3fb2a0563e40604e59d6f193c26 (patch) | |
tree | 6b2831618d0c78f00f28d55ecaecb2b3e0379318 /gdb/values.c | |
parent | 09843d7f0ce3c75d003ee92203afe86ee34128aa (diff) | |
download | gdb-d6dd581ead67d3fb2a0563e40604e59d6f193c26.zip gdb-d6dd581ead67d3fb2a0563e40604e59d6f193c26.tar.gz gdb-d6dd581ead67d3fb2a0563e40604e59d6f193c26.tar.bz2 |
* gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
(EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
predicate.
* gdbarch.h, gdbarch.c: Regenerate.
* values.c (value_being_returned): Change the reference to
EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
Diffstat (limited to 'gdb/values.c')
-rw-r--r-- | gdb/values.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/values.c b/gdb/values.c index bb441cd..43ff194 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -1328,7 +1328,7 @@ value_being_returned (struct type *valtype, char *retbuf, int struct_return) CORE_ADDR addr; /* If this is not defined, just use EXTRACT_RETURN_VALUE instead. */ - if (EXTRACT_STRUCT_VALUE_ADDRESS_P) + if (EXTRACT_STRUCT_VALUE_ADDRESS_P ()) if (struct_return) { addr = EXTRACT_STRUCT_VALUE_ADDRESS (retbuf); |