diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-03-25 03:44:37 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-03-25 03:44:37 +0000 |
commit | 05d7918e531d86e7dcc67e709b271491151f8bdd (patch) | |
tree | 761c3cf7e4ee79546e768d0010c9cf0beffe210f /sim/common/hw-tree.c | |
parent | d89fa2d80a72cc5e21793c78d877a1349ffb5c16 (diff) | |
download | gdb-05d7918e531d86e7dcc67e709b271491151f8bdd.zip gdb-05d7918e531d86e7dcc67e709b271491151f8bdd.tar.gz gdb-05d7918e531d86e7dcc67e709b271491151f8bdd.tar.bz2 |
* dv-pal.c (hw_pal_countdown, hw_pal_countdown_value,
hw_pal_timer, hw_pal_timer_value): Define.
(hw_pal_io_read_buffer, hw_pal_io_write_buffer): Add timer support
(do_counter_event, do_counter_read, do_counter_value,
do_counter_write): new functions.
* hw-tree.c (hw_printf): Send tree dump to stderr, same as other
trace output.
* hw-base.c (hw_create): Stop searching for a device when one is
found.
Diffstat (limited to 'sim/common/hw-tree.c')
-rw-r--r-- | sim/common/hw-tree.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sim/common/hw-tree.c b/sim/common/hw-tree.c index 219b75b..da9cc57 100644 --- a/sim/common/hw-tree.c +++ b/sim/common/hw-tree.c @@ -831,10 +831,13 @@ hw_tree_parse (struct hw *current, char *dest_hw_name = split_value (&spec); struct hw *dest; /* find my name */ - my_port = hw_port_decode (current, my_port_name, - output_port); + if (!hw_finished_p (current)) + hw_finish (current); + my_port = hw_port_decode (current, my_port_name, output_port); /* find the dest device and port */ - dest = split_fill_path(current, dest_hw_name, &dest_spec); + dest = split_fill_path (current, dest_hw_name, &dest_spec); + if (!hw_finished_p (dest)) + hw_finish (dest); dest_port = hw_port_decode (dest, dest_port_name, input_port); /* connect the two */ @@ -981,7 +984,7 @@ hw_printf (struct hw *me, { va_list ap; va_start (ap, fmt); - sim_io_vprintf (hw_system (me), fmt, ap); + sim_io_evprintf (hw_system (me), fmt, ap); va_end (ap); } |