aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-engine.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-02 00:07:21 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-02 10:58:20 -0400
commitf0c4dc40b2e16a876b5b61986de5014a78f76a5c (patch)
tree081740977f36d35892d79c180e792104293acfe8 /sim/common/sim-engine.h
parentd89a87ba3c100bdbe82c7bd98ad7b8a2435e002f (diff)
downloadgdb-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.zip
gdb-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.tar.gz
gdb-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.tar.bz2
sim: replace custom attributes with ansidecl.h
A lot of this code predates the common attributes. We had already started migrating over piece by piece, so just do a pass across all the attributes and replace most of them.
Diffstat (limited to 'sim/common/sim-engine.h')
-rw-r--r--sim/common/sim-engine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/common/sim-engine.h b/sim/common/sim-engine.h
index 5adce8d..3ebf8ac 100644
--- a/sim/common/sim-engine.h
+++ b/sim/common/sim-engine.h
@@ -62,7 +62,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) __attribute__ ((noreturn));
+ int sigrc) ATTRIBUTE_NORETURN;
/* Halt hook - allow target specific operation when halting a
simulator */
@@ -115,14 +115,14 @@ extern void sim_engine_abort
sim_cpu *cpu,
sim_cia cia,
const char *fmt,
- ...) ATTRIBUTE_PRINTF (4, 5) __attribute__ ((noreturn));
+ ...) ATTRIBUTE_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) ATTRIBUTE_PRINTF (4, 0) __attribute__ ((noreturn));
+ va_list ap) ATTRIBUTE_PRINTF (4, 0) ATTRIBUTE_NORETURN;
/* No abort hook - when possible this function exits using the
engine_halt function (and SIM_ENGINE_HALT_HOOK). */