projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbdfef8
)
sim: common: mark engine restart as noreturn
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 21 Dec 2023 05:31:25 +0000
(
00:31
-0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 21 Dec 2023 06:23:00 +0000
(
01:23
-0500)
This helps the compiler with optimization and fixes fallthru warnings.
sim/common/sim-engine.h
patch
|
blob
|
history
diff --git
a/sim/common/sim-engine.h
b/sim/common/sim-engine.h
index
f027cdc
..
5d1f8fa
100644
(file)
--- a/
sim/common/sim-engine.h
+++ b/
sim/common/sim-engine.h
@@
-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 */