Blackfin: add support for the DBGA (debug assert) pseudo insn
A few pseudo debug insns exist to make testing of simulators easier. Since these don't actually exist in the hardware, we have to have the exception handler take care of emulating these. This allows sim test cases to be executed unmodified under Linux and thus simplify debugging greatly. 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
2620c83668
commit
6ce3e9c2a2
17
arch/blackfin/include/asm/pseudo_instructions.h
Normal file
17
arch/blackfin/include/asm/pseudo_instructions.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* header file for pseudo instructions
|
||||
*
|
||||
* Copyright 2010 Analog Devices Inc.
|
||||
*
|
||||
* Licensed under the GPL-2 or later.
|
||||
*/
|
||||
|
||||
#ifndef _BLACKFIN_PSEUDO_
|
||||
#define _BLACKFIN_PSEUDO_
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
extern bool execute_pseudodbg_assert(struct pt_regs *fp, unsigned int opcode);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user