Index: sim/ChangeLog from Alexandre Oliva * h8300/compile.c (sim_load): Update sd->memory_size. Index: sim/h8300/compile.c =================================================================== RCS file: /cvs/src/src/sim/h8300/compile.c,v retrieving revision 1.40 diff -u -p -r1.40 compile.c --- sim/h8300/compile.c 10 Jun 2004 20:22:17 -0000 1.40 +++ sim/h8300/compile.c 27 Jun 2004 05:28:19 -0000 @@ -5096,6 +5096,7 @@ sim_load (SIM_DESC sd, char *prog, bfd * calloc (sizeof (char), memory_size)); h8_set_cache_idx_buf (sd, (unsigned short *) calloc (sizeof (short), memory_size)); + sd->memory_size = memory_size; h8_set_eightbit_buf (sd, (unsigned char *) calloc (sizeof (char), 256)); /* `msize' must be a power of two. */