summaryrefslogtreecommitdiff
path: root/gdb/values.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-15 19:19:23 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-15 19:19:23 +0000
commit18f67bfe333d5ebea4c8dcae0aff9a72be6bdd3c (patch)
tree6c025bb01e5b32cb74d31deaf0088515125df1ad /gdb/values.c
parent1f8d411c6c8f2aa7bd3ad6f54022f4d9b920c10c (diff)
downloadgdb-18f67bfe333d5ebea4c8dcae0aff9a72be6bdd3c.tar.gz
* 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/values.c b/gdb/values.c
index bb441cd5ead..43ff194c160 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);