2003-06-17 Doug Evans <dje@sebabeach.org>
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 20 Jun 2003 17:27:10 +0000 (17:27 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 20 Jun 2003 17:27:10 +0000 (17:27 +0000)
* 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.

sim/common/ChangeLog
sim/common/cgen-trace.c
sim/common/cgen-trace.h

index 71c3c38545f8cca4a06c64d4ab10c7b3b647cea3..16296da9409f09182d12b4ceaf438de02d70f9cf 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2003-06-04  Michael Snyder  <msnyder@redhat.com>
 
        * common/run.c (main): Remove SIM_H8300 ifdef.
index 765ab57ab0309ef8440117100cde7acca7a19a3e..d978d3e57f61d392e89e917ec71488cfce433573 100644 (file)
@@ -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);
index be1dd1dff4ede7b881076950a6b265cffada5914..623fc1eb6c76726306d6abd1bd37f12ebc3340b4 100644 (file)
@@ -81,7 +81,7 @@ extern int sim_disasm_sprintf (SFILE *, const char *, ...);
 #ifdef __BFD_H_SEEN__
 struct disassemble_info;
 extern 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_);
 extern void
 sim_disasm_perror_memory (int status_, bfd_vma memaddr_,