URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1049 |
Rev 1308 |
Line 81... |
Line 81... |
char *plus;
|
char *plus;
|
char *minus;
|
char *minus;
|
int positive_offset = 0;
|
int positive_offset = 0;
|
int negative_offset = 0;
|
int negative_offset = 0;
|
|
|
if (plus = strchr(name, '+')) {
|
if ((plus = strchr(name, '+'))) {
|
*plus = '\0';
|
*plus = '\0';
|
positive_offset = atoi(++plus);
|
positive_offset = atoi(++plus);
|
}
|
}
|
|
|
if (minus = strchr(name, '-')) {
|
if ((minus = strchr(name, '-'))) {
|
*minus = '\0';
|
*minus = '\0';
|
negative_offset = atoi(++minus);
|
negative_offset = atoi(++minus);
|
}
|
}
|
le = find_label (name);
|
le = find_label (name);
|
if (!le)
|
if (!le)
|
Line 126... |
Line 126... |
void print_breakpoints () {
|
void print_breakpoints () {
|
struct breakpoint_entry **tmp = &breakpoints;
|
struct breakpoint_entry **tmp = &breakpoints;
|
int i = 1;
|
int i = 1;
|
printf ("---[breakpoints]------------------\n");
|
printf ("---[breakpoints]------------------\n");
|
while (*tmp) {
|
while (*tmp) {
|
printf ("Breakpoint %i at 0x%08X\n", i, (*tmp)->addr);
|
printf ("Breakpoint %i at 0x%08lX\n", i, (*tmp)->addr);
|
tmp = &((*tmp)->next);
|
tmp = &((*tmp)->next);
|
}
|
}
|
printf ("---[breakpoints end]--------------\n");
|
printf ("---[breakpoints end]--------------\n");
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.