rem: message.origin.thread = thread->id; message.origin.team = thread->team->id; message.origin.nub_port = thread->team->debug_info.nub_port;
context: user_debug_image_created(const image_info *imageInfo){	// check, if a debugger is installed and is interested in image events	struct thread *thread = thread_get_current_thread();	int32 teamDebugFlags = atomic_get(&thread->team->debug_info.flags);	if (~teamDebugFlags		& (B_TEAM_DEBUG_DEBUGGER_INSTALLED | B_TEAM_DEBUG_IMAGES)) {		return;	}	// prepare the message	debug_image_created message;	message.origin.thread = thread->id;	message.origin.team = thread->team->id;	message.origin.nub_port = thread->team->debug_info.nub_port;	memcpy(&message.info, imageInfo, sizeof(image_info));	thread_hit_debug_event(B_DEBUGGER_MESSAGE_IMAGE_CREATED, &message,		sizeof(message), true);}