diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2003-06-20 17:27:10 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2003-06-20 17:27:10 +0000 |
commit | 6ec8fa7a80dd65468b47eafd240d26ce31e48937 (patch) | |
tree | 851809f5766a6a27e205a94bc14b42931f6f032c /sim/common/cgen-trace.c | |
parent | 8619218dfc6cef48ebba54c7e4ea05d02457dc81 (diff) | |
download | gdb-6ec8fa7a80dd65468b47eafd240d26ce31e48937.zip gdb-6ec8fa7a80dd65468b47eafd240d26ce31e48937.tar.gz gdb-6ec8fa7a80dd65468b47eafd240d26ce31e48937.tar.bz2 |
2003-06-17 Doug Evans <dje@sebabeach.org>
* cgen-trace.h (sim_disasm_read_memory): Update args to be compatible
with disassemble_info:read_memory_func.
* cgen-trace.c (sim_disasm_read_memory): Ditto.
Diffstat (limited to 'sim/common/cgen-trace.c')
-rw-r--r-- | sim/common/cgen-trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/cgen-trace.c b/sim/common/cgen-trace.c index 765ab57..d978d3e 100644 --- a/sim/common/cgen-trace.c +++ b/sim/common/cgen-trace.c @@ -322,12 +322,12 @@ sim_disasm_sprintf VPARAMS ((SFILE *f, const char *format, ...)) /* Memory read support for an opcodes disassembler. */ int -sim_disasm_read_memory (bfd_vma memaddr, bfd_byte *myaddr, int length, +sim_disasm_read_memory (bfd_vma memaddr, bfd_byte *myaddr, unsigned int length, struct disassemble_info *info) { SIM_CPU *cpu = (SIM_CPU *) info->application_data; SIM_DESC sd = CPU_STATE (cpu); - int length_read; + unsigned length_read; length_read = sim_core_read_buffer (sd, cpu, read_map, myaddr, memaddr, length); |