projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* lib/gdb.exp(gdb_step_for_stub): New function.
[deliverable/binutils-gdb.git]
/
gdb
/
dcache.c
diff --git
a/gdb/dcache.c
b/gdb/dcache.c
index 60caa29077f66c1ab5e534e04fb38c77592dc6ea..8020797691df7d5f11d440b41ec14015dd38ff73 100644
(file)
--- a/
gdb/dcache.c
+++ b/
gdb/dcache.c
@@
-23,7
+23,7
@@
#include "dcache.h"
#include "gdbcmd.h"
#include "gdb_string.h"
#include "dcache.h"
#include "gdbcmd.h"
#include "gdb_string.h"
-
+#include "gdbcore.h"
/*
The data cache could lead to incorrect results because it doesn't know
/*
The data cache could lead to incorrect results because it doesn't know
@@
-478,8
+478,8
@@
dcache_xfer_memory (dcache, memaddr, myaddr, len, should_write)
if (remote_dcache)
{
if (remote_dcache)
{
- int (*xfunc)
()
- = should_write ? dcache_poke_byte : dcache_peek_byte;
+ int (*xfunc)
PARAMS ((DCACHE *dcache, CORE_ADDR addr, char *ptr));
+
xfunc
= should_write ? dcache_poke_byte : dcache_peek_byte;
for (i = 0; i < len; i++)
{
for (i = 0; i < len; i++)
{
@@
-491,8
+491,8
@@
dcache_xfer_memory (dcache, memaddr, myaddr, len, should_write)
}
else
{
}
else
{
- int (*xfunc) ()
- = should_write ? dcache->write_memory : dcache->read_memory;
+ memxferfunc xfunc;
+
xfunc
= should_write ? dcache->write_memory : dcache->read_memory;
if (dcache->cache_has_stuff)
dcache_flush (dcache);
if (dcache->cache_has_stuff)
dcache_flush (dcache);
This page took
0.023353 seconds
and
4
git commands to generate.