* compile.c (sim_load): Update sd->memory_size.
This commit is contained in:
parent
71d39cfcfd
commit
e4d3c499f5
2 changed files with 5 additions and 0 deletions
|
@ -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>
|
2004-06-10 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
|
Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
|
||||||
|
|
|
@ -5096,6 +5096,7 @@ sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
|
||||||
calloc (sizeof (char), memory_size));
|
calloc (sizeof (char), memory_size));
|
||||||
h8_set_cache_idx_buf (sd, (unsigned short *)
|
h8_set_cache_idx_buf (sd, (unsigned short *)
|
||||||
calloc (sizeof (short), memory_size));
|
calloc (sizeof (short), memory_size));
|
||||||
|
sd->memory_size = memory_size;
|
||||||
h8_set_eightbit_buf (sd, (unsigned char *) calloc (sizeof (char), 256));
|
h8_set_eightbit_buf (sd, (unsigned char *) calloc (sizeof (char), 256));
|
||||||
|
|
||||||
/* `msize' must be a power of two. */
|
/* `msize' must be a power of two. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue