URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 997 |
Rev 1308 |
Line 27... |
Line 27... |
#include "arch.h"
|
#include "arch.h"
|
#include "parse.h"
|
#include "parse.h"
|
#include "abstract.h"
|
#include "abstract.h"
|
#include "execute.h"
|
#include "execute.h"
|
#include "sim-config.h"
|
#include "sim-config.h"
|
|
#include "labels.h"
|
|
|
/* Set instruction execution breakpoint. */
|
/* Set instruction execution breakpoint. */
|
|
|
void set_insnbrkpoint(unsigned long addr)
|
void set_insnbrkpoint(unsigned long addr)
|
{
|
{
|
struct mem_entry *entry;
|
|
addr &= 0xfffffffc; /* 32-bit aligned */
|
addr &= 0xfffffffc; /* 32-bit aligned */
|
|
|
if (verify_memoryarea(addr))
|
if (verify_memoryarea(addr))
|
if (has_breakpoint (addr)) {
|
if (has_breakpoint (addr)) {
|
remove_breakpoint (addr);
|
remove_breakpoint (addr);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.