URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [insight/] [gdb/] [or1k-tdep.c] - Diff between revs 1144 and 1333
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1144 |
Rev 1333 |
Line 2379... |
Line 2379... |
if (fseek (f, TRACE_DATA_SIZE * from, SEEK_SET))
|
if (fseek (f, TRACE_DATA_SIZE * from, SEEK_SET))
|
error ("Error reading trace file.");
|
error ("Error reading trace file.");
|
td = (struct htrace_data_struct *) malloc (TRACE_DATA_SIZE * length);
|
td = (struct htrace_data_struct *) malloc (TRACE_DATA_SIZE * length);
|
length = fread (td, TRACE_DATA_SIZE, length, f);
|
length = fread (td, TRACE_DATA_SIZE, length, f);
|
for (i = 0; i < length; i++)
|
for (i = 0; i < length; i++)
|
print_data_struct (from + i, td[i]);
|
print_data_struct (from + i, &td[i]);
|
fclose (f);
|
fclose (f);
|
}
|
}
|
|
|
int print_insn_big_or32 (bfd_vma,struct disassemble_info*);
|
int print_insn_big_or32 (bfd_vma,struct disassemble_info*);
|
int print_insn_little_or32 (bfd_vma,struct disassemble_info*);
|
int print_insn_little_or32 (bfd_vma,struct disassemble_info*);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.