提交 e8861129 编写于 作者: J Jason Wessel

kgdb,blackfin: Add in kgdb_arch_set_pc for blackfin

The new debug core api requires all architectures that use to debug
core to implement a function to set the program counter.
Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
Acked-by: NSonic Zhang <sonic.zhang@analog.com>
Acked-by: NMike Frysinger <vapier@gentoo.org>
上级 489022cc
......@@ -439,6 +439,11 @@ int kgdb_validate_break_address(unsigned long addr)
return -EFAULT;
}
void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
{
regs->retx = ip;
}
int kgdb_arch_init(void)
{
kgdb_single_step = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册