19 #ifndef __TARGET_PROCESS_H__
20 #define __TARGET_PROCESS_H__
31 #define SAFE_TARGET_PROCESS_OP(target,op,errval,...) \
33 if (target->personality != TARGET_PERSONALITY_PROCESS) { \
34 verror("target %s is not a process!\n",target->name); \
38 else if (!target->process_ops || !target->process_ops->op) { \
39 verror("target %s does not support process operation '%s'!\n", \
45 return target->process_ops->op(__VA_ARGS__); \
int(* init)(struct target *target)
REFCNT target_process_free(struct target_process *process, int force)
int(* fini)(struct target *target)
struct target_process * parent
target_process_type_t(* type)(struct target *target)
struct target_process * target_process_create(struct target *target, struct target_thread *tthread, struct addrspace *space)
struct target_thread * thread