OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_70/] [or1ksim/] [cpu/] [common/] [trace.c] - Diff between revs 997 and 1308

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);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.