提交 4fbf81ca 编写于 作者: V Vineet Gupta 提交者: Bjorn Helgaas

ARC: kgdb: generic kgdb_arch_pc() suffices

The ARC version of kgdb_arch_pc() is identical to the generic version in
kernel/debug/debug_core.c.  Drop the ARC version so we use the generic one.
Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
上级 5ab03ac5
......@@ -158,11 +158,6 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code,
return -1;
}
unsigned long kgdb_arch_pc(int exception, struct pt_regs *regs)
{
return instruction_pointer(regs);
}
int kgdb_arch_init(void)
{
single_step_data.armed = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册