Index: common/ChangeLog

2003-02-26  Andrew Cagney  <cagney@redhat.com>

	* sim-engine.h (sim_engine_abort): Add noreturn attribute.
	(sim_engine_vabort): Ditto.
	(sim_engine_halt, sim_engine_restart): Ditto.

Index: mn10300/ChangeLog
2003-02-26  Andrew Cagney  <cagney@redhat.com>

	* am33.igen: Call sim_engine_abort instead of abort.
This commit is contained in:
Andrew Cagney
2003-02-26 23:27:09 +00:00
parent 5d1a8fc95a
commit dbd7cd63b9
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2003-02-26 Andrew Cagney <cagney@redhat.com>
* sim-engine.h (sim_engine_abort): Add noreturn attribute.
(sim_engine_vabort): Ditto.
(sim_engine_halt, sim_engine_restart): Ditto.
2003-02-20 Andrew Cagney <ac131313@redhat.com> 2003-02-20 Andrew Cagney <ac131313@redhat.com>
* Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o * Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o

View File

@ -63,7 +63,7 @@ extern void sim_engine_halt
sim_cpu *next_cpu, /* NULL -> succ (last_cpu) or event-mgr */ sim_cpu *next_cpu, /* NULL -> succ (last_cpu) or event-mgr */
sim_cia cia, sim_cia cia,
enum sim_stop reason, enum sim_stop reason,
int sigrc); int sigrc) __attribute__ ((noreturn));
/* Halt hook - allow target specific operation when halting a /* Halt hook - allow target specific operation when halting a
simulator */ simulator */
@ -116,14 +116,14 @@ extern void sim_engine_abort
sim_cpu *cpu, sim_cpu *cpu,
sim_cia cia, sim_cia cia,
const char *fmt, const char *fmt,
...) __attribute__ ((format (printf, 4, 5))); ...) __attribute__ ((format (printf, 4, 5))) __attribute__ ((noreturn));
extern void sim_engine_vabort extern void sim_engine_vabort
(SIM_DESC sd, (SIM_DESC sd,
sim_cpu *cpu, sim_cpu *cpu,
sim_cia cia, sim_cia cia,
const char *fmt, const char *fmt,
va_list ap); va_list ap) __attribute__ ((noreturn));
/* No abort hook - when possible this function exits using the /* No abort hook - when possible this function exits using the
engine_halt function (and SIM_ENGINE_HALT_HOOK). */ engine_halt function (and SIM_ENGINE_HALT_HOOK). */

View File

@ -1,3 +1,7 @@
2003-02-26 Andrew Cagney <cagney@redhat.com>
* am33.igen: Call sim_engine_abort instead of abort.
2003-02-26 David Carlton <carlton@math.stanford.edu> 2003-02-26 David Carlton <carlton@math.stanford.edu>
* dv-mn103tim.c (read_special_timer6_reg): Add break after * dv-mn103tim.c (read_special_timer6_reg): Add break after

View File

@ -34,7 +34,7 @@
case 4: case 4:
return REG_MCVF; return REG_MCVF;
default: default:
abort (); sim_engine_abort (SD, CPU, cia, "%s:%d: bad switch\n", __FILE__, __LINE__);
} }
} }