URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [insight/] [gdb/] [remote-or1k.c] - Diff between revs 150 and 151
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 150 |
Rev 151 |
Line 726... |
Line 726... |
CORE_ADDR pc = read_pc ();
|
CORE_ADDR pc = read_pc ();
|
int breakpoint = 0;
|
int breakpoint = 0;
|
int i;
|
int i;
|
unsigned char break_bytes[4] = BRK_INSTR_STRUCT;
|
unsigned char break_bytes[4] = BRK_INSTR_STRUCT;
|
unsigned long b_insn = ntohl(*((unsigned long*)break_bytes));
|
unsigned long b_insn = ntohl(*((unsigned long*)break_bytes));
|
unsigned long value;
|
unsigned long value = pc;
|
|
|
for (i = 0; i < or1k_implementation.num_used_matchpoints; i++)
|
for (i = 0; i < or1k_implementation.num_used_matchpoints; i++)
|
if (dvr[i] == pc && dcr[i].dp && dcr[i].cc == CC_EQUAL
|
if (dvr[i] == pc && dcr[i].dp && dcr[i].cc == CC_EQUAL
|
&& !dcr[i].sc && dcr[i].ct == CT_FETCH)
|
&& !dcr[i].sc && dcr[i].ct == CT_FETCH)
|
{
|
{
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.