diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-09-27 21:02:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-09-27 21:02:14 +0000 |
commit | fe1198e63e0178b31761a3c26009c1987ac3e218 (patch) | |
tree | a1be77342529ce5e05ed23af4fc977303009b7f0 /sim | |
parent | 9bbe19fb37e9f35d88febb50aec81ff8ae25a24f (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | sim/ppc/hw_disk.c | 2 |
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; |