* compile.c (sim_load): Update sd->memory_size.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 28 Jun 2004 19:25:43 +0000 (19:25 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 28 Jun 2004 19:25:43 +0000 (19:25 +0000)
sim/h8300/ChangeLog
sim/h8300/compile.c

index c6f8dcd14692884e351788ca5196b5c025737c03..b77fcfc529dad121150f621f5010d34335987546 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-28  Alexandre Oliva  <aoliva@redhat.com>
+
+       * compile.c (sim_load): Update sd->memory_size.
+
 2004-06-10  Michael Snyder  <msnyder@redhat.com>
 
        Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
index cd097d68a98e00ba104591b6333263690987c5bf..3e8992c09c3aa9faa2a5a27f43c88f05c87fff2b 100644 (file)
@@ -5096,6 +5096,7 @@ sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
                     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.  */