mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
* 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.
This commit is contained in:
@@ -760,7 +760,6 @@ evaluate_subexp_standard (struct type *expect_type,
|
||||
|
||||
CORE_ADDR selector = 0;
|
||||
|
||||
int using_gcc = 0;
|
||||
int struct_return = 0;
|
||||
int sub_no_side = 0;
|
||||
|
||||
@@ -912,9 +911,6 @@ evaluate_subexp_standard (struct type *expect_type,
|
||||
|
||||
b = block_for_pc (funaddr);
|
||||
|
||||
/* If compiled without -g, assume GCC 2. */
|
||||
using_gcc = (b == NULL ? 2 : BLOCK_GCC_COMPILED (b));
|
||||
|
||||
CHECK_TYPEDEF (value_type);
|
||||
|
||||
if ((value_type == NULL)
|
||||
@@ -924,11 +920,11 @@ evaluate_subexp_standard (struct type *expect_type,
|
||||
value_type = expect_type;
|
||||
}
|
||||
|
||||
struct_return = using_struct_return (value_type, using_gcc);
|
||||
struct_return = using_struct_return (value_type);
|
||||
}
|
||||
else if (expect_type != NULL)
|
||||
{
|
||||
struct_return = using_struct_return (check_typedef (expect_type), using_gcc);
|
||||
struct_return = using_struct_return (check_typedef (expect_type));
|
||||
}
|
||||
|
||||
/* Found a function symbol. Now we will substitute its
|
||||
|
||||
Reference in New Issue
Block a user