The sim read/write buffer functions deal with address_word's, not
unsigned_words's, so make sure the local raddr variable matches
accordingly.
+2010-03-30 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-core.c (sim_core_read_buffer): Change raddr to address_word.
+ (sim_core_write_buffer): Likewise.
+
2010-03-30 Mike Frysinger <vapier@gentoo.org>
* sim-trace.c (trace_option_handler): Move cpu_nr decl behind
unsigned count = 0;
while (count < len)
{
- unsigned_word raddr = addr + count;
+ address_word raddr = addr + count;
sim_core_mapping *mapping =
sim_core_find_mapping (core, map,
raddr, /*nr-bytes*/1,
unsigned count = 0;
while (count < len)
{
- unsigned_word raddr = addr + count;
+ address_word raddr = addr + count;
sim_core_mapping *mapping =
sim_core_find_mapping (core, map,
raddr, /*nr-bytes*/1,