From b2846e630d7bc618548783257aed4a7b6e4220d0 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 22 Mar 1998 05:51:57 +0000 Subject: [PATCH] Fix typos: Setting trace in wrong function, ME vs HW. --- sim/common/ChangeLog | 3 +++ sim/common/hw-base.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index e454601b132..abc30d0e8e8 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,8 @@ Sun Mar 22 16:45:54 1998 Andrew Cagney + * hw-base.c (hw_finish): Move setting of trace level to here. + (hw_create): From here. + * hw-base.h, hw-base.c (do_hw_attach_regs): Copy function from ../ppc/device_table.c. diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c index 2057e904bd8..8a5a2990456 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); -- 2.30.2