From: Jason Wessel Date: Fri, 21 May 2010 02:04:20 +0000 (-0500) Subject: kgdb,blackfin: Add in kgdb_arch_set_pc for blackfin X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e8861129d3c1a64e3c62f459aeb1cd54a55ab045;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Jason Wessel Acked-by: Sonic Zhang Acked-by: Mike Frysinger --- diff --git a/arch/blackfin/kernel/kgdb.c b/arch/blackfin/kernel/kgdb.c index 2c501ceb1e55..7367aea4ae59 100644 --- a/arch/blackfin/kernel/kgdb.c +++ b/arch/blackfin/kernel/kgdb.c @@ -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;