aboutsummaryrefslogtreecommitdiff
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
commitfe1198e63e0178b31761a3c26009c1987ac3e218 (patch)
treea1be77342529ce5e05ed23af4fc977303009b7f0 /sim
parent9bbe19fb37e9f35d88febb50aec81ff8ae25a24f (diff)
downloadgdb-fe1198e63e0178b31761a3c26009c1987ac3e218.zip
gdb-fe1198e63e0178b31761a3c26009c1987ac3e218.tar.gz
gdb-fe1198e63e0178b31761a3c26009c1987ac3e218.tar.bz2
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 4c2dfef..26d0431 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 84086ff..0e9573b 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;