From ba744a4f561ff799e88f31cdb2ad442bd8967ccc Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 3 May 2000 09:26:07 +0000 Subject: [PATCH] Add missing ChangeLog. Sync with mitsu's version. --- sim/d10v/ChangeLog | 23 +++++++++++++++++++++++ sim/d10v/interp.c | 3 ++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 0b4b1b62bb9..9559c793473 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -8,6 +8,29 @@ Tue Feb 22 18:24:56 2000 Andrew Cagney * Makefile.in (SIM_EXTRA_CFLAGS): Define SIM_HAVE_ENVIRONMENT. * interp.c (sim_set_trace): Replace sim_trace. Enable tracing. +Tue Feb 8 17:41:12 2000 Andrew Cagney + + * d10v_sim.h (SIG_D10V_BUS): Define. + + * simops.c (address_exception): Delete function. + (OP_30000000, OP_6401, OP_6001, OP_6000, OP_32010000, OP_31000000, + OP_6601, OP_6201, OP_6200, OP_33010000, OP_34000000, OP_6800, + OP_6C1F, OP_6801, OP_6C01, OP_36010000, OP_35000000, OP_6A00, + OP_6E1F, OP_6A01, OP_6E01, OP_37010000): Replace call to + address_exception with code that sets SIG_D10V_BUS. + + * interp.c (sim_resume): When SIGBUS or SIGSEGV, deliver a bus + error to the simulator before resuming execution. + (sim_trace): Check stop reason and use that to determine sim_trace + return value. + (sim_stop_reason): For SIG_D10V_BUS return a SIGBUS / SIGSEGV + sigrc. + +Tue Jan 18 16:07:42 MST 2000 Diego Novillo + + * interp.c (sim_create_inferior): Change internal initial value for + DMAP2 to 0x2000. + Mon Jan 3 02:06:07 2000 Andrew Cagney * interp.c (lookup_hash): Stop the update of the PC when there was diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c index ce4b7694bb3..f56df31c298 100644 --- a/sim/d10v/interp.c +++ b/sim/d10v/interp.c @@ -1252,7 +1252,8 @@ sim_create_inferior (sd, abfd, argv, env) set_imap_register (1, 0x1000); set_dmap_register (0, 0x2000); set_dmap_register (1, 0x2000); - set_dmap_register (2, 0x0000); /* Old DMAP, Value is not 0x2000 */ + set_dmap_register (2, 0x2000); /* DMAP2 initial internal value is + 0x2000 on the new board. */ set_dmap_register (3, 0x0000); } -- 2.30.2