Make address in I/O space a bus error; properly cast calloc

This commit is contained in:
Michael Meissner 1996-11-21 00:44:48 +00:00
parent 9fb53c4fed
commit 24cbf0a416
1 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,12 @@
Wed Nov 20 19:41:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* interp.c (sim_open): Cast result of calloc, and make sure NULL
was not returned.
(dmem_addr): If address is illegal or in I/O space, signal a bus
error.
(pc_addr): Signal bus error, not illegal instruction for bogus
pc.
Wed Nov 20 01:23:03 1996 Doug Evans <dje@canuck.cygnus.com>
* Makefile.in: Delete all stuff moved to ../common/Make-common.in.