Calling ifunc functions when target has no debug info but resolver has
[deliverable/binutils-gdb.git] / gdb / infcall.h
index a3861fb1bf306b4ac6a513a889f245d0b33c9279..8b2195019c95f9d06178d414a056636e282abf46 100644 (file)
 struct value;
 struct type;
 
+/* Determine a function's address and its return type from its value.
+   If the function is a GNU ifunc, then return the address of the
+   target function, and set *FUNCTION_TYPE to the target function's
+   type, and *RETVAL_TYPE to the target function's return type.
+   Calls error() if the function is not valid for calling.  */
+
 extern CORE_ADDR find_function_addr (struct value *function, 
-                                    struct type **retval_type);
+                                    struct type **retval_type,
+                                    struct type **function_type = NULL);
 
 /* Perform a function call in the inferior.
 
This page took 0.036685 seconds and 4 git commands to generate.