diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-12 15:34:45 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-12 15:34:45 +0000 |
commit | 82585c726542fe34a6e3108ce281759f4de08d57 (patch) | |
tree | aa454eab9abbf4222f860519cd0d016f177a7f98 /gdb/value.c | |
parent | 8f536afe352ac7b4c8135e2085d192c46ea45d0a (diff) | |
download | gdb-82585c726542fe34a6e3108ce281759f4de08d57.zip gdb-82585c726542fe34a6e3108ce281759f4de08d57.tar.gz gdb-82585c726542fe34a6e3108ce281759f4de08d57.tar.bz2 |
* block.h (struct block): Remove "gcc_compile_flag" member.
(BLOCK_GCC_COMPILED): Remove.
* block.c (allocate_block): Do not clear BLOCK_GCC_COMPILED.
* buildsym.c (finish_block): Do not set it.
* symmisc.c (dump_symtab_1): Do not dump it.
* value.h (using_struct_return): Remove "gcc_p" argument.
* value.c (using_struct_return): Likewise.
* eval.c (evaluate_subexp_standard): Adapt callers.
* infcall.c (call_function_by_hand): Likewise.
* stack.c (return_command): Likewise.
* sparc-tdep.c (sparc32_push_dummy_code): Likewise.
* gdbarch.sh (push_dummy_code): Remove "using_gcc" parameter.
* gdbarch.c, gdbarch.h: Regenerate.
* cris-tdep.c (cris_push_dummy_code): Adapt prototype.
* hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Likewise.
* sparc-tdep.c (sparc32_push_dummy_code): Likewise.
* infcall.c (generic_push_dummy_code, push_dummy_code): Likewise.
(push_dummy_code, call_function_by_hand): Adapt callers.
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/value.c b/gdb/value.c index 5f39bc8..656c5ea 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -1709,11 +1709,10 @@ generic_use_struct_convention (int gcc_p, struct type *value_type) /* 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. */ + address as a hidden first parameter). */ int -using_struct_return (struct type *value_type, int gcc_p) +using_struct_return (struct type *value_type) { enum type_code code = TYPE_CODE (value_type); |