projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ddfe82
)
[MIPS] kgdb: Do not call fixup_exception
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Mon, 11 Aug 2008 14:05:35 +0000
(23:05 +0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 26 Aug 2008 08:10:26 +0000
(09:10 +0100)
kgdb_mips_notify is called on IBE/DBE/FPE/BP/TRAP/RI exception. None
of them need fixup. And doing fixup for a breakpoint exception will
confuse gdb.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/kgdb.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/kgdb.c
b/arch/mips/kernel/kgdb.c
index 660894567461373f2f796274d0648891818a6b61..8f6d58ede33cea5f42424fb27becd432e7b1f7b3 100644
(file)
--- a/
arch/mips/kernel/kgdb.c
+++ b/
arch/mips/kernel/kgdb.c
@@
-190,9
+190,6
@@
static int kgdb_mips_notify(struct notifier_block *self, unsigned long cmd,
struct pt_regs *regs = args->regs;
int trap = (regs->cp0_cause & 0x7c) >> 2;
- if (fixup_exception(regs))
- return NOTIFY_DONE;
-
/* Userpace events, ignore. */
if (user_mode(regs))
return NOTIFY_DONE;