GDB (xrefs)

Functions
/tmp/gdb-8.1/gdb/infcall.h File Reference
`#include "dummy-frame.h"`

Go to the source code of this file.

## Functions
CORE_ADDR | find_function_addr (struct value *function, struct type **retval_type)
struct value * | call_function_by_hand (struct value *function, type *default_return_type, int nargs, struct value **args)
struct value * | call_function_by_hand_dummy (struct value *function, type *default_return_type, int nargs, struct value **args, dummy_frame_dtor_ftype *dummy_dtor, void *dummy_dtor_data)
void | error_call_unknown_return_type (const char *func_name)

## Function Documentation

## ◆ call_function_by_hand()

struct value* call_function_by_hand | ( | struct value * | function,
|  | type * | default_return_type,
|  | int | nargs,
|  | struct value ** | args
| ) |  |

Definition at line 690 of file infcall.c.

References call_function_by_hand_dummy().

Referenced by ada_evaluate_subexp(), call_target_sbrk(), checkpoint_command(), elf_gnu_ifunc_resolve_addr(), eval_call(), evaluate_subexp_standard(), flush_ea_cache(), gdbscm_value_call(), inferior_call_waitpid(), linux_infcall_mmap(), linux_infcall_munmap(), lookup_child_selector(), lookup_objc_class(), print_object_command(), rust_evaluate_funcall(), valpy_call(), value_allocate_space_in_inferior(), value_nsstring(), value_x_binop(), and value_x_unop().

## ◆ call_function_by_hand_dummy()

struct value* call_function_by_hand_dummy | ( | struct value * | function,
|  | type * | default_return_type,
|  | int | nargs,
|  | struct value ** | args,
|  | dummy_frame_dtor_ftype * | dummy_dtor,
|  | void * | dummy_dtor_data
| ) |  |

Definition at line 717 of file infcall.c.

References _, AT_ENTRY_POINT, bp_call_dummy, builtin_type(), builtin_type::builtin_void, check_typedef(), class_or_union_p(), cleanup_delete_std_terminate_breakpoint(), command_interp(), current_program_space, current_ui, discard_cleanups(), discard_infcall_control_state(), disp_del, breakpoint::disposition, do_cleanups(), dummy_frame_pop(), dummy_frame_push(), entry_point_address(), error(), gdb_exception::error, EXEC_REVERSE, execution_direction, find_function_addr(), find_pc_overlay(), find_thread_ptid(), frame_id_build(), gdb_assert, gdb_assert_not_reached, gdbarch_breakpoint_from_pc(), gdbarch_call_dummy_location(), gdbarch_frame_align(), gdbarch_frame_align_p(), gdbarch_frame_red_zone_size(), gdbarch_inner_than(), gdbarch_push_dummy_call(), gdbarch_push_dummy_call_p(), gdbarch_return_in_first_hidden_param_p(), get_current_frame(), get_current_regcache(), get_frame_arch(), get_frame_sp(), get_function_name(), get_last_thread_stack_temporary(), get_traceframe_number(), inferior_ptid, inferior_thread(), internal_error(), language_pass_by_reference(), lookup_pointer_type(), make_cleanup(), make_cleanup_restore_infcall_control_state(), make_cleanup_restore_infcall_suspend_state(), maybe_remove_breakpoints(), gdb_exception::message, name, new_call_thread_fsm(), noprocess(), null_cleanup(), observer_notify_inferior_call_post(), observer_notify_inferior_call_pre(), ON_STACK, symtab_and_line::pc, symtab_and_line::pspace, thread_info::ptid, ptid_equal(), push_dummy_code(), RAW_FUNCTION_ADDRESS_SIZE, gdb_exception::reason, register_dummy_frame_dtor(), breakpoint::related_breakpoint, restore_infcall_control_state(), RETURN_ERROR, RETURN_QUIT, call_thread_fsm::return_value, run_inferior_call(), save_infcall_control_state(), save_infcall_suspend_state(), symtab_and_line::section, set_longjmp_breakpoint_for_call_dummy(), set_momentary_breakpoint(), set_std_terminate_breakpoint(), STOP_NONE, stop_stack_dummy, STOP_STD_TERMINATE, stopped_by_random_signal, string, target_has_execution, thread_info::thread_fsm, call_thread_fsm::thread_fsm, thread_fsm_clean_up(), thread_fsm_delete(), thread_fsm_finished_p(), thread_stack_temporaries_enabled_p(), throw_error(), throw_exception(), TYPE_CODE, TYPE_CODE_METHOD, TYPE_CODE_PTR, TYPE_FIELD_TYPE, TYPE_LENGTH, TYPE_NFIELDS, TYPE_PROTOTYPED, TYPE_TARGET_TYPE, unwind_on_signal_p, unwind_on_terminating_exception_p, using_struct_return(), value_addr(), value_address(), value_arg_coerce(), value_from_pointer(), value_type(), write_memory(), xfree(), and XNEWVEC.

Referenced by call_function_by_hand(), and compile_object_run().

## ◆ error_call_unknown_return_type()

void error_call_unknown_return_type | ( | const char * | func_name | ) |

Definition at line 346 of file infcall.c.

References _, and error().

Referenced by ada_evaluate_subexp(), and eval_call().

## ◆ find_function_addr()

CORE_ADDR find_function_addr | ( | struct value * | function,
|  | struct type ** | retval_type
| ) |  |

Definition at line 250 of file infcall.c.

References _, check_typedef(), current_target, error(), find_function_return_type(), gdbarch_convert_from_func_ptr_addr(), gdbarch_deprecated_function_start_offset(), get_type_arch(), gnu_ifunc_resolve_addr, lval_memory, TYPE_CODE, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_METHOD, TYPE_CODE_PTR, TYPE_GNU_IFUNC, TYPE_LENGTH, TYPE_TARGET_TYPE, value_addr(), value_address(), value_as_address(), value_as_long(), VALUE_LVAL, and value_type().

Referenced by alpha_push_dummy_call(), call_function_by_hand_dummy(), evaluate_subexp_standard(), frv_push_dummy_call(), ia64_push_dummy_call(), mep_push_dummy_call(), mips_eabi_push_dummy_call(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o32_return_value(), mips_o64_push_dummy_call(), mips_o64_return_value(), mn10300_push_dummy_call(), nios2_push_dummy_call(), ppc64_sysv_abi_push_dummy_call(), rs6000_lynx178_push_dummy_call(), rs6000_push_dummy_call(), tic6x_push_dummy_call(), and value_ind().