aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-10-02 04:40:58 +0000
committerAndrew Cagney <cagney@redhat.com>2003-10-02 04:40:58 +0000
commit5fe830e4fe7e59c595fac7082edb4954e17a7688 (patch)
tree55f991d8a7cf010be108660dd195484028959b29 /gdb/value.h
parentd810ef463692eb22404564fffbcbbafe0adc7891 (diff)
downloadgdb-5fe830e4fe7e59c595fac7082edb4954e17a7688.zip
gdb-5fe830e4fe7e59c595fac7082edb4954e17a7688.tar.gz
gdb-5fe830e4fe7e59c595fac7082edb4954e17a7688.tar.bz2
2003-10-01 Andrew Cagney <cagney@redhat.com>
* value.h (register_value_being_returned): Declare. Replace "value_being_returned". * infcall.c (call_function_by_hand): Use register_value_being_returned. * infcmd.c (print_return_value): Call "register_value_being_returned", handle struct return locally. * values.c (register_value_being_returned): New function. Replace "value_being_returned".
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 2040c86..1ee176a 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -416,9 +416,8 @@ extern struct value *value_repeat (struct value *arg1, int count);
extern struct value *value_subscript (struct value *array, struct value *idx);
-extern struct value *value_being_returned (struct type *valtype,
- struct regcache *retbuf,
- int struct_return);
+extern struct value *register_value_being_returned (struct type *valtype,
+ struct regcache *retbuf);
extern struct value *value_in (struct value *element, struct value *set);