git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
489022c
)
kgdb,blackfin: Add in kgdb_arch_set_pc for blackfin
author
Jason Wessel
<jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:20 +0000
(21:04 -0500)
committer
Jason Wessel
<jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:20 +0000
(21:04 -0500)
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 <jason.wessel@windriver.com>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/kgdb.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/kgdb.c
b/arch/blackfin/kernel/kgdb.c
index 2c501ceb1e557e4bc25a57d6ea611cb7806b06a5..7367aea4ae59ff3cb7af0f9e3b8b18e5f1467aea 100644
(file)
--- 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;