Make address in I/O space a bus error; properly cast calloc
authorMichael Meissner <gnu@the-meissners.org>
Thu, 21 Nov 1996 00:44:48 +0000 (00:44 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Thu, 21 Nov 1996 00:44:48 +0000 (00:44 +0000)
sim/d10v/ChangeLog

index 0e0925942b4ecc24ac913a68ca79037ad93ba734..2f72a97db5914bc637d2f6c674fe447dbab36be6 100644 (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.