Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
From Greg McGary <gkm@gnu.ai.mit.edu>: * dcache.c (dcache_peek, dcache_poke): Advance addr for multi-byte I/O.
This commit is contained in:
parent
92849bae1d
commit
a4b4479a47
|
@ -1,3 +1,9 @@
|
||||||
|
Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
|
||||||
|
|
||||||
|
From Greg McGary <gkm@gnu.ai.mit.edu>:
|
||||||
|
* dcache.c (dcache_peek, dcache_poke): Advance addr for
|
||||||
|
multi-byte I/O.
|
||||||
|
|
||||||
Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com)
|
Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com)
|
||||||
|
|
||||||
* infrun.c (normal_stop): Fix test for shared library event.
|
* infrun.c (normal_stop): Fix test for shared library event.
|
||||||
|
|
|
@ -357,7 +357,7 @@ dcache_peek (dcache, addr, data)
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < sizeof (int); i++)
|
for (i = 0; i < sizeof (int); i++)
|
||||||
{
|
{
|
||||||
if (!dcache_peek_byte (dcache, addr, dp + i))
|
if (!dcache_peek_byte (dcache, addr + i, dp + i))
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -435,7 +435,7 @@ dcache_poke (dcache, addr, data)
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < sizeof (int); i++)
|
for (i = 0; i < sizeof (int); i++)
|
||||||
{
|
{
|
||||||
if (!dcache_poke_byte (dcache, addr, dp + i))
|
if (!dcache_poke_byte (dcache, addr + i, dp + i))
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
dcache_writeback (dcache);
|
dcache_writeback (dcache);
|
||||||
|
|
Loading…
Reference in New Issue