mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
sim: common: mark engine restart as noreturn
This helps the compiler with optimization and fixes fallthru warnings.
This commit is contained in:
parent
cbdfef872b
commit
c5190830db
@ -88,7 +88,7 @@ extern void sim_engine_restart
|
||||
(SIM_DESC sd,
|
||||
sim_cpu *last_cpu, /* NULL -> in event-mgr */
|
||||
sim_cpu *next_cpu, /* NULL -> succ (last_cpu) or event-mgr */
|
||||
sim_cia cia);
|
||||
sim_cia cia) ATTRIBUTE_NORETURN;
|
||||
|
||||
/* Restart hook - allow target specific operation when restarting a
|
||||
simulator */
|
||||
|
Loading…
Reference in New Issue
Block a user