diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-13 21:31:33 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-13 21:31:33 +0000 |
commit | 48436ce6b9d02c4f4f9e3628e3dbe8247841fda9 (patch) | |
tree | b10badbaf8b33470980fcfe273901727fafecf91 /gdb/values.c | |
parent | 88d89dbb0e7a3522a9f2ecf3ff452f0f62bc0433 (diff) | |
download | gdb-48436ce6b9d02c4f4f9e3628e3dbe8247841fda9.zip gdb-48436ce6b9d02c4f4f9e3628e3dbe8247841fda9.tar.gz gdb-48436ce6b9d02c4f4f9e3628e3dbe8247841fda9.tar.bz2 |
2003-09-13 Andrew Cagney <cagney@redhat.com>
* values.c (using_struct_return): Delete "function" and "funcaddr"
parameters.
* value.h (using_struct_return): Update declaration.
* infcmd.c (finish_command_continuation): Update.
(finish_command): Update.
* infcall.c (call_function_by_hand): Update.
* eval.c (evaluate_subexp_standard): Update.
Diffstat (limited to 'gdb/values.c')
-rw-r--r-- | gdb/values.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gdb/values.c b/gdb/values.c index 42395c8..67f91f0 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -1272,17 +1272,13 @@ generic_use_struct_convention (int gcc_p, struct type *value_type) || TYPE_LENGTH (value_type) == 8)); } -/* Return true if the function specified is using the structure returning - convention on this machine to return arguments, or 0 if it is using - the value returning convention. FUNCTION is the value representing - the function, FUNCADDR is the address of the function, and VALUE_TYPE - is the type returned by the function. GCC_P is nonzero if compiled +/* Return true if the function returning the specified type is using + the convention of returning structures in memory (passing in the + address as a hidden first parameter). GCC_P is nonzero if compiled with GCC. */ -/* ARGSUSED */ int -using_struct_return (struct value *function, CORE_ADDR funcaddr, - struct type *value_type, int gcc_p) +using_struct_return (struct type *value_type, int gcc_p) { register enum type_code code = TYPE_CODE (value_type); |