mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
* dcache.c (dcache_info): Don't print cache state if last_cache
is NULL.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2000-08-11 J.T. Conklin <jtc@redback.com>
|
||||
|
||||
* dcache.c (dcache_info): Don't print cache state if last_cache
|
||||
is NULL.
|
||||
|
||||
2000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>
|
||||
|
||||
* config/mn10300/tm-mn10300.h, mn10300-tdep.c
|
||||
|
@ -461,6 +461,8 @@ dcache_info (char *exp, int tty)
|
||||
printf_filtered ("Dcache enabled, line width %d, depth %d\n",
|
||||
LINE_SIZE, DCACHE_SIZE);
|
||||
|
||||
if (last_cache)
|
||||
{
|
||||
printf_filtered ("Cache state:\n");
|
||||
|
||||
for (p = last_cache->valid_head; p; p = p->p)
|
||||
@ -477,6 +479,7 @@ dcache_info (char *exp, int tty)
|
||||
printf_filtered (" %2x", p->state[j]);
|
||||
printf_filtered ("\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Turn dcache on or off. */
|
||||
|
Reference in New Issue
Block a user