aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-base.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-05-25 08:29:05 +0000
committerAndrew Cagney <cagney@redhat.com>1998-05-25 08:29:05 +0000
commit325a1ba87687ac0a8002b24a6a1215b933ae28bb (patch)
tree7e6c37f8d8a42de205db97ee72101896334e926c /sim/common/hw-base.c
parent69be0d4cb816ba39cbe29091d8579b661f57d3fc (diff)
downloadgdb-325a1ba87687ac0a8002b24a6a1215b933ae28bb.zip
gdb-325a1ba87687ac0a8002b24a6a1215b933ae28bb.tar.gz
gdb-325a1ba87687ac0a8002b24a6a1215b933ae28bb.tar.bz2
Initialize/destory hw-properties within the hw-device.
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 03aad9b..3adef18 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_alloc_data (hw);
+ create_hw_property_data (hw);
create_hw_port_data (hw);
create_hw_event_data (hw);
@@ -473,6 +474,7 @@ hw_delete (struct hw *me)
delete_hw_event_data (me);
delete_hw_port_data (me);
+ delete_hw_property_data (me);
/* now unlink us from the tree */
if (hw_parent (me))