diff options
author | Vyacheslav Barinov <v.barinov@samsung.com> | 2014-08-19 10:32:35 +0400 |
---|---|---|
committer | Vyacheslav Barinov <v.barinov@samsung.com> | 2014-08-19 12:00:10 +0400 |
commit | d20fa3bbc49f7e9e8de18b89e7d7480bdb810cb0 (patch) | |
tree | 597394261d7acef7d60c9b3d4c63064e8b3e05de /fetch.c | |
parent | 9611ae3f65fe7e136e8b9d7929ab576584e212f5 (diff) | |
download | ltrace-sandbox/vbarinov/tizen.tar.gz ltrace-sandbox/vbarinov/tizen.tar.bz2 ltrace-sandbox/vbarinov/tizen.zip |
Imported newest gitsandbox/vbarinov/tizen
Diffstat (limited to 'fetch.c')
-rw-r--r-- | fetch.c | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -27,18 +27,18 @@ #include "type.h" #ifdef ARCH_HAVE_FETCH_ARG -struct fetch_context *arch_fetch_arg_init(enum tof type, struct Process *proc, +struct fetch_context *arch_fetch_arg_init(enum tof type, struct process *proc, struct arg_type_info *ret_info); -struct fetch_context *arch_fetch_arg_clone(struct Process *proc, +struct fetch_context *arch_fetch_arg_clone(struct process *proc, struct fetch_context *context); int arch_fetch_arg_next(struct fetch_context *ctx, enum tof type, - struct Process *proc, struct arg_type_info *info, + struct process *proc, struct arg_type_info *info, struct value *valuep); int arch_fetch_retval(struct fetch_context *ctx, enum tof type, - struct Process *proc, struct arg_type_info *info, + struct process *proc, struct arg_type_info *info, struct value *valuep); void arch_fetch_arg_done(struct fetch_context *context); @@ -53,7 +53,7 @@ void arch_fetch_param_pack_end(struct fetch_context *context); #else /* Fall back to gimme_arg. */ -long gimme_arg(enum tof type, struct Process *proc, int arg_num, +long gimme_arg(enum tof type, struct process *proc, int arg_num, struct arg_type_info *info); struct fetch_context { @@ -61,14 +61,14 @@ struct fetch_context { }; struct fetch_context * -arch_fetch_arg_init(enum tof type, struct Process *proc, +arch_fetch_arg_init(enum tof type, struct process *proc, struct arg_type_info *ret_info) { return calloc(sizeof(struct fetch_context), 1); } struct fetch_context * -arch_fetch_arg_clone(struct Process *proc, struct fetch_context *context) +arch_fetch_arg_clone(struct process *proc, struct fetch_context *context) { struct fetch_context *ret = malloc(sizeof(*ret)); if (ret == NULL) @@ -78,7 +78,7 @@ arch_fetch_arg_clone(struct Process *proc, struct fetch_context *context) int arch_fetch_arg_next(struct fetch_context *context, enum tof type, - struct Process *proc, + struct process *proc, struct arg_type_info *info, struct value *valuep) { long l = gimme_arg(type, proc, context->argnum++, info); @@ -88,7 +88,7 @@ arch_fetch_arg_next(struct fetch_context *context, enum tof type, int arch_fetch_retval(struct fetch_context *context, enum tof type, - struct Process *proc, + struct process *proc, struct arg_type_info *info, struct value *valuep) { long l = gimme_arg(type, proc, -1, info); @@ -118,21 +118,21 @@ arch_fetch_param_pack_end(struct fetch_context *context) #endif struct fetch_context * -fetch_arg_init(enum tof type, struct Process *proc, +fetch_arg_init(enum tof type, struct process *proc, struct arg_type_info *ret_info) { return arch_fetch_arg_init(type, proc, ret_info); } struct fetch_context * -fetch_arg_clone(struct Process *proc, struct fetch_context *context) +fetch_arg_clone(struct process *proc, struct fetch_context *context) { return arch_fetch_arg_clone(proc, context); } int fetch_arg_next(struct fetch_context *context, enum tof type, - struct Process *proc, + struct process *proc, struct arg_type_info *info, struct value *valuep) { return arch_fetch_arg_next(context, type, proc, info, valuep); @@ -140,7 +140,7 @@ fetch_arg_next(struct fetch_context *context, enum tof type, int fetch_retval(struct fetch_context *context, enum tof type, - struct Process *proc, + struct process *proc, struct arg_type_info *info, struct value *valuep) { return arch_fetch_retval(context, type, proc, info, valuep); |