diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-03-22 05:33:41 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-03-22 05:33:41 +0000 |
commit | 937a4bdc12d90b400da5b5f5e1e3770c6e4b39ea (patch) | |
tree | b7135ca122c197fb366f93c02325e0cd69aa6bda /sim/common/hw-base.c | |
parent | e5f0d498af49da4680564df06b9709423523ba6e (diff) | |
download | gdb-937a4bdc12d90b400da5b5f5e1e3770c6e4b39ea.zip gdb-937a4bdc12d90b400da5b5f5e1e3770c6e4b39ea.tar.gz gdb-937a4bdc12d90b400da5b5f5e1e3770c6e4b39ea.tar.bz2 |
Add function hw_trace() and macro HW_TRACE - provides trace support
for HW devices.
Diffstat (limited to 'sim/common/hw-base.c')
-rw-r--r-- | sim/common/hw-base.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c index 495f96d..ad17df4 100644 --- a/sim/common/hw-base.c +++ b/sim/common/hw-base.c @@ -442,6 +442,10 @@ hw_create (SIM_DESC sd, } } + /* 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?"); + /* Attach dummy ports */ set_hw_ports (hw, empty_hw_ports); set_hw_port_event (hw, panic_hw_port_event); |