* interp.c (sim_open): If argument supplied, interpret as

desired memory size.
	(parse_and_set_memory_size): New function.
	(sim_do_command): New function.
This commit is contained in:
Stan Shebs 1995-07-01 00:01:19 +00:00
parent 94d1ac891b
commit 8e968e86d4

View file

@ -1,6 +1,13 @@
Fri Jun 30 16:51:38 1995 Stan Shebs <shebs@andros.cygnus.com>
* interp.c (sim_open): If argument supplied, interpret as
desired memory size.
(parse_and_set_memory_size): New function.
(sim_do_command): New function.
Thu Jun 29 10:02:28 1995 Fred Fish <fnf@deneb.cygnus.com> Thu Jun 29 10:02:28 1995 Fred Fish <fnf@deneb.cygnus.com>
* interp.c: (SYS_wait): Define as SYS_wait4 if available and * interp.c (SYS_wait): Define as SYS_wait4 if available and
SYS_wait is not already defined (SunOS 4.1.3 for example). SYS_wait is not already defined (SunOS 4.1.3 for example).
(SYS_utime): Define as SYS_utimes if available and (SYS_utime): Define as SYS_utimes if available and
SYS_utime is not already defined. SYS_utime is not already defined.
@ -11,7 +18,7 @@ Thu Jun 22 17:25:57 1995 Steve Chamberlain <sac@slash.cygnus.com>
Wed Jun 21 15:03:49 1995 Steve Chamberlain <sac@slash.cygnus.com> Wed Jun 21 15:03:49 1995 Steve Chamberlain <sac@slash.cygnus.com>
* interp.c: (SIGBUS, SIGTERM): Define if not. * interp.c (SIGBUS, SIGTERM): Define if not.
(sim_memory_size): default to 2^19 on PCs. (sim_memory_size): default to 2^19 on PCs.
(sim_resume): Poll for quits on win32. (sim_resume): Poll for quits on win32.