aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-base.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-03-22 05:51:57 +0000
committerAndrew Cagney <cagney@redhat.com>1998-03-22 05:51:57 +0000
commitb2846e630d7bc618548783257aed4a7b6e4220d0 (patch)
treeaee0f0bf075e8d7026bcadd272ee65ce38009584 /sim/common/hw-base.c
parent775b309a4ed05c21bb05c2f325da04635bef44b0 (diff)
downloadgdb-b2846e630d7bc618548783257aed4a7b6e4220d0.zip
gdb-b2846e630d7bc618548783257aed4a7b6e4220d0.tar.gz
gdb-b2846e630d7bc618548783257aed4a7b6e4220d0.tar.bz2
Fix typos: Setting trace in wrong function, ME vs HW.
Diffstat (limited to 'sim/common/hw-base.c')
-rw-r--r--sim/common/hw-base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c
index 2057e90..8a5a299 100644
--- a/sim/common/hw-base.c
+++ b/sim/common/hw-base.c
@@ -475,8 +475,8 @@ hw_finish (struct hw *me)
me->nr_size_cells_of_hw_unit = 1;
/* Fill in the (hopefully) defined trace variable */
- if (hw_find_property (hw, "trace?") != NULL)
- hw->trace_of_hw_p = hw_find_boolean_property (hw, "trace?");
+ if (hw_find_property (me, "trace?") != NULL)
+ me->trace_of_hw_p = hw_find_boolean_property (me, "trace?");
/* Allow the real device to override any methods */
me->base_of_hw->descriptor->to_finish (me);