aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-base.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-05-25 07:37:30 +0000
committerAndrew Cagney <cagney@redhat.com>1998-05-25 07:37:30 +0000
commit39e953a72287cfa9335871478f27258989a22a66 (patch)
tree6438a7bde0347193bf8971ff7f1024e27b85690d /sim/common/hw-base.c
parent2f06c437e28ea3bfab27cc9b9b11dd235397a938 (diff)
downloadfsf-binutils-gdb-39e953a72287cfa9335871478f27258989a22a66.zip
fsf-binutils-gdb-39e953a72287cfa9335871478f27258989a22a66.tar.gz
fsf-binutils-gdb-39e953a72287cfa9335871478f27258989a22a66.tar.bz2
Split out hw-event code. Clean up interface. Update all users.
Diffstat (limited to 'sim/common/hw-base.c')
-rw-r--r--sim/common/hw-base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c
index e8c09f0..25b5c23 100644
--- a/sim/common/hw-base.c
+++ b/sim/common/hw-base.c
@@ -418,6 +418,7 @@ hw_create (struct sim_state *sd,
/* Attach dummy ports */
create_hw_port_data (hw);
+ create_hw_event_data (hw);
return hw;
}
@@ -469,6 +470,7 @@ hw_delete (struct hw *me)
/* give the object a chance to tidy up */
me->base_of_hw->to_delete (me);
+ delete_hw_event_data (me);
delete_hw_port_data (me);
/* now unlink us from the tree */