mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* compile.c (sim_load): Update sd->memory_size.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user