projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim: use STATE_MAGIC helper
[deliverable/binutils-gdb.git]
/
sim
/
common
/
sim-utils.c
diff --git
a/sim/common/sim-utils.c
b/sim/common/sim-utils.c
index d2b5f7c0d03233c52f1251af0b5e6acc07791012..d11d3b4cd901955541ef54b0d32adad85f8c2120 100644
(file)
--- a/
sim/common/sim-utils.c
+++ b/
sim/common/sim-utils.c
@@
-101,7
+101,7
@@
sim_state_alloc (SIM_OPEN_KIND kind,
void
sim_state_free (SIM_DESC sd)
{
- ASSERT (
sd->base.magic
== SIM_MAGIC_NUMBER);
+ ASSERT (
STATE_MAGIC (sd)
== SIM_MAGIC_NUMBER);
#ifdef SIM_STATE_FREE
SIM_STATE_FREE (sd);
This page took
0.022692 seconds
and
4
git commands to generate.