diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-02-26 23:27:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-02-26 23:27:09 +0000 |
commit | dbd7cd63b99874422f5e1a151e9d7119c3a3dd61 (patch) | |
tree | 45116c63b0dcbc491acf28b958890c863d6e346e /sim/common/sim-engine.h | |
parent | 5d1a8fc95ab579dfe4eff6db3a9b141f490c6262 (diff) | |
download | gdb-dbd7cd63b99874422f5e1a151e9d7119c3a3dd61.zip gdb-dbd7cd63b99874422f5e1a151e9d7119c3a3dd61.tar.gz gdb-dbd7cd63b99874422f5e1a151e9d7119c3a3dd61.tar.bz2 |
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.
Diffstat (limited to 'sim/common/sim-engine.h')
-rw-r--r-- | sim/common/sim-engine.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/common/sim-engine.h b/sim/common/sim-engine.h index 41aa51f..18513a6 100644 --- a/sim/common/sim-engine.h +++ b/sim/common/sim-engine.h @@ -63,7 +63,7 @@ extern void sim_engine_halt sim_cpu *next_cpu, /* NULL -> succ (last_cpu) or event-mgr */ sim_cia cia, enum sim_stop reason, - int sigrc); + int sigrc) __attribute__ ((noreturn)); /* Halt hook - allow target specific operation when halting a simulator */ @@ -116,14 +116,14 @@ extern void sim_engine_abort sim_cpu *cpu, sim_cia cia, const char *fmt, - ...) __attribute__ ((format (printf, 4, 5))); + ...) __attribute__ ((format (printf, 4, 5))) __attribute__ ((noreturn)); extern void sim_engine_vabort (SIM_DESC sd, sim_cpu *cpu, sim_cia cia, const char *fmt, - va_list ap); + va_list ap) __attribute__ ((noreturn)); /* No abort hook - when possible this function exits using the engine_halt function (and SIM_ENGINE_HALT_HOOK). */ |