summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-09-27 21:02:14 +0000
committerAndrew Cagney <cagney@redhat.com>2002-09-27 21:02:14 +0000
commit414b7db23d090ac81182d8de03ba4d016dc48ae0 (patch)
treecda149b453b4368b0b052e2413794e79cb4f5fa8 /sim
parent512d68b524317afb37a76e128f7cc1d96016e0bc (diff)
downloadgdb-414b7db23d090ac81182d8de03ba4d016dc48ae0.tar.gz
2002-09-27 Andrew Cagney <ac131313@redhat.com>
* hw_disk.c (hw_disk_init_address): Set device type to "block", not "disk".
Diffstat (limited to 'sim')
-rw-r--r--sim/ppc/ChangeLog5
-rw-r--r--sim/ppc/hw_disk.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 4c2dfef8181..26d04311625 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-27 Andrew Cagney <ac131313@redhat.com>
+
+ * hw_disk.c (hw_disk_init_address): Set device type to "block",
+ not "disk".
+
2002-06-22 Andrew Cagney <ac131313@redhat.com>
* Makefile.in (INTL_SRC): Define.
diff --git a/sim/ppc/hw_disk.c b/sim/ppc/hw_disk.c
index 84086ff1d4a..0e9573bda6e 100644
--- a/sim/ppc/hw_disk.c
+++ b/sim/ppc/hw_disk.c
@@ -233,7 +233,7 @@ hw_disk_init_address(device *me)
me);
/* Tell the world we are a disk. */
- device_add_string_property(me, "device_type", "disk");
+ device_add_string_property(me, "device_type", "block");
/* get the name of the file specifying the disk image */
disk->name_index = 0;