URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [or1ksim/] [debug/] [rsp-server.c] - Diff between revs 1751 and 1752
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1751 |
Rev 1752 |
Line 48... |
Line 48... |
#include "execute.h"
|
#include "execute.h"
|
#include "debug-unit.h"
|
#include "debug-unit.h"
|
#include "sprs.h"
|
#include "sprs.h"
|
|
|
|
|
/* Do we log each packet */
|
/* Define to log each packet */
|
#define RSP_TRACE 1
|
/* #define RSP_TRACE 1 */
|
|
|
/*! Name of the Or1ksim RSP service */
|
/*! Name of the Or1ksim RSP service */
|
#define OR1KSIM_RSP_SERVICE "or1ksim-rsp"
|
#define OR1KSIM_RSP_SERVICE "or1ksim-rsp"
|
|
|
/*! Protocol used by Or1ksim */
|
/*! Protocol used by Or1ksim */
|
Line 2226... |
Line 2226... |
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
static void
|
static void
|
rsp_step_generic (unsigned long int addr,
|
rsp_step_generic (unsigned long int addr,
|
unsigned long int except)
|
unsigned long int except)
|
{
|
{
|
printf ("Stepping from %lx\n", addr);
|
|
fflush (stdout);
|
|
|
|
/* Set the address as the value of the next program counter */
|
/* Set the address as the value of the next program counter */
|
set_npc (addr);
|
set_npc (addr);
|
|
|
/* Clear Debug Reason Register and watchpoint break generation in Debug Mode
|
/* Clear Debug Reason Register and watchpoint break generation in Debug Mode
|
Register 2 */
|
Register 2 */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.