GDB (xrefs)
Functions
/tmp/gdb-7.10/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 valuecall_function_by_hand (struct value *function, int nargs, struct value **args)
 
struct valuecall_function_by_hand_dummy (struct value *function, int nargs, struct value **args, dummy_frame_dtor_ftype *dummy_dtor, void *dummy_dtor_data)
 
void dummy_frame_context_saver_drop (struct dummy_frame_context_saver *data)
 
void dummy_frame_context_saver_cleanup (void *data_voidp)
 
struct regcachedummy_frame_context_saver_get_regs (struct dummy_frame_context_saver *saver)
 
struct dummy_frame_context_saverdummy_frame_context_saver_setup (struct frame_id dummy_id, ptid_t ptid)
 

Function Documentation

struct value* call_function_by_hand ( struct value function,
int  nargs,
struct value **  args 
)
struct value* call_function_by_hand_dummy ( struct value function,
int  nargs,
struct value **  args,
dummy_frame_dtor_ftype dummy_dtor,
void *  dummy_dtor_data 
)

Definition at line 602 of file infcall.c.

References _, allocate_value(), AT_ENTRY_POINT, bp_call_dummy, builtin_type::builtin_int, builtin_type(), builtin_type::builtin_void, CHECK_TYPEDEF, check_typedef(), class_or_union_p(), cleanup_delete_std_terminate_breakpoint(), current_program_space, discard_cleanups(), discard_infcall_control_state(), disp_del, breakpoint::disposition, do_cleanups(), dummy_frame_context_saver_cleanup(), dummy_frame_context_saver_get_regs(), dummy_frame_context_saver_setup(), dummy_frame_pop(), dummy_frame_push(), entry_point_address(), error(), gdb_exception::error, EXEC_REVERSE, execution_direction, find_function_addr(), find_pc_overlay(), frame_id_build(), gdb_assert, 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(), gdbarch_return_value(), 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(), init_sal(), internal_error(), language_pass_by_reference(), lookup_pointer_type(), make_cleanup(), make_cleanup_restore_infcall_control_state(), make_cleanup_restore_infcall_suspend_state(), gdb_exception::message, name, 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(), push_thread_stack_temporary(), RAW_FUNCTION_ADDRESS_SIZE, read_value_memory(), gdb_exception::reason, register_dummy_frame_dtor(), breakpoint::related_breakpoint, restore_infcall_control_state(), RETURN_ERROR, RETURN_QUIT, 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_STACK_DUMMY, STOP_STD_TERMINATE, stopped_by_random_signal, target_has_execution, thread_stack_temporaries_enabled_p(), throw_error(), throw_exception(), TYPE_CODE, TYPE_CODE_METHOD, TYPE_CODE_PTR, TYPE_CODE_VOID, 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_contents_raw(), value_force_lval(), value_from_contents_and_address(), value_from_pointer(), value_type(), write_memory(), xfree(), and xmalloc().

Referenced by call_function_by_hand(), and compile_object_run().

void dummy_frame_context_saver_cleanup ( void *  data_voidp)

Definition at line 549 of file infcall.c.

References dummy_frame_context_saver_drop().

Referenced by call_function_by_hand_dummy(), and finish_forward().

void dummy_frame_context_saver_drop ( struct dummy_frame_context_saver data)
struct regcache* dummy_frame_context_saver_get_regs ( struct dummy_frame_context_saver saver)

Definition at line 560 of file infcall.c.

References gdb_assert, and dummy_frame_context_saver::retbuf.

Referenced by call_function_by_hand_dummy(), and get_return_value().

struct dummy_frame_context_saver* dummy_frame_context_saver_setup ( struct frame_id  dummy_id,
ptid_t  ptid 
)
CORE_ADDR find_function_addr ( struct value function,
struct type **  retval_type 
)