aboutsummaryrefslogtreecommitdiff
path: root/sim/common/dv-pal.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-03-22 05:49:30 +0000
committerAndrew Cagney <cagney@redhat.com>1998-03-22 05:49:30 +0000
commit775b309a4ed05c21bb05c2f325da04635bef44b0 (patch)
tree76f3b66848b3fb9eeeca62a1db80b12de6c9a276 /sim/common/dv-pal.c
parent937a4bdc12d90b400da5b5f5e1e3770c6e4b39ea (diff)
downloadgdb-775b309a4ed05c21bb05c2f325da04635bef44b0.zip
gdb-775b309a4ed05c21bb05c2f325da04635bef44b0.tar.gz
gdb-775b309a4ed05c21bb05c2f325da04635bef44b0.tar.bz2
Copy function ../ppc/device_table.c:generic_device_init_address() to
hw-base.c:do_hw_attach_regs(). Use in dv-pal. Add hw_tree_delete to hw-tree.c.
Diffstat (limited to 'sim/common/dv-pal.c')
-rw-r--r--sim/common/dv-pal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/dv-pal.c b/sim/common/dv-pal.c
index 2e00c3b..c98ff68 100644
--- a/sim/common/dv-pal.c
+++ b/sim/common/dv-pal.c
@@ -385,6 +385,8 @@ hw_pal_finish (struct hw *hw)
set_hw_io_read_buffer (hw, hw_pal_io_read_buffer);
set_hw_io_write_buffer (hw, hw_pal_io_write_buffer);
set_hw_ports (hw, hw_pal_ports);
+ /* attach ourselves */
+ do_hw_attach_regs (me);
}