Blackfin: add support for the DBG (debug output) pseudo insn
Another pseudo insn used by Blackfin simulators. Also factor some now common register lookup code out of the DBGA handlers. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:

committed by
Mike Frysinger

parent
6a4110c2b3
commit
dc89d97fc7
@@ -213,6 +213,8 @@ asmlinkage notrace void trap_c(struct pt_regs *fp)
|
||||
if (!kernel_mode_regs(fp) && get_instruction(&opcode, (unsigned short *)fp->pc)) {
|
||||
if (execute_pseudodbg_assert(fp, opcode))
|
||||
goto traps_done;
|
||||
if (execute_pseudodbg(fp, opcode))
|
||||
goto traps_done;
|
||||
}
|
||||
#endif
|
||||
info.si_code = ILL_ILLOPC;
|
||||
|
Reference in New Issue
Block a user