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 | 414b7db23d090ac81182d8de03ba4d016dc48ae0 (patch) | |
tree | cda149b453b4368b0b052e2413794e79cb4f5fa8 /sim | |
parent | 512d68b524317afb37a76e128f7cc1d96016e0bc (diff) | |
download | gdb-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/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 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; |