diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-05-25 11:06:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-05-25 11:06:29 +0000 |
commit | 48f83b1a2e0a034c1b28a72c41c85a27a3a01266 (patch) | |
tree | 9bdce36ba1f7f3df9cbe2081f66aa979ee3f7696 /sim/common/hw-base.c | |
parent | c14db36dbbcef966978f8d8aee0b3670d3243bb0 (diff) | |
download | gdb-48f83b1a2e0a034c1b28a72c41c85a27a3a01266.zip gdb-48f83b1a2e0a034c1b28a72c41c85a27a3a01266.tar.gz gdb-48f83b1a2e0a034c1b28a72c41c85a27a3a01266.tar.bz2 |
Make hw-main.h the main header file for H/W devices. Like sim-main.h
Update dv-*.c
Replace *_callback with more correct. *_method. Update dv-*.c
Diffstat (limited to 'sim/common/hw-base.c')
-rw-r--r-- | sim/common/hw-base.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c index 3adef18..05255b0 100644 --- a/sim/common/hw-base.c +++ b/sim/common/hw-base.c @@ -19,7 +19,7 @@ */ -#include "sim-main.h" +#include "hw-main.h" #include "hw-base.h" @@ -41,7 +41,7 @@ struct hw_base_data { int finished_p; - const struct hw_device_descriptor *descriptor; + const struct hw_descriptor *descriptor; hw_delete_callback *to_delete; }; @@ -393,12 +393,12 @@ hw_create (struct sim_state *sd, /* locate a descriptor */ { - const struct hw_device_descriptor **table; + const struct hw_descriptor **table; for (table = hw_descriptors; *table != NULL; table++) { - const struct hw_device_descriptor *entry; + const struct hw_descriptor *entry; for (entry = *table; entry->family != NULL; entry++) |