summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/ptrace.c
blob: 1cf944a77f33e61009e47964fef2e1d4f0a05bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include <linux/ptrace.h>

void ptrace_disable(struct task_struct *child)
{
}

long arch_ptrace(struct task_struct *child, long request,
		 unsigned long addr, unsigned long data)
{
	int ret = -EIO;
	return ret;
}


const struct user_regset_view *task_user_regset_view(struct task_struct *task)
{
	return (const struct user_regset_view *)NULL;
}