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>
18 lines
319 B
C
18 lines
319 B
C
/*
|
|
* 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
|