diff options
author | Doug Evans <dje@google.com> | 2009-08-20 23:30:15 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-08-20 23:30:15 +0000 |
commit | 51939b3dd69048734a219767fa311d344fc62a7a (patch) | |
tree | de9469769f898cbdfdaadf0f901549ad969253a6 /gdb/dcache.c | |
parent | 25f122dc09108d210f78f6ecd7c5077f466352e1 (diff) | |
download | gdb-51939b3dd69048734a219767fa311d344fc62a7a.zip gdb-51939b3dd69048734a219767fa311d344fc62a7a.tar.gz gdb-51939b3dd69048734a219767fa311d344fc62a7a.tar.bz2 |
* dcache.c (dcache_print_line, dcache_info): Use paddress to print addresses.
Diffstat (limited to 'gdb/dcache.c')
-rw-r--r-- | gdb/dcache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c index 08e0add..17c948a 100644 --- a/gdb/dcache.c +++ b/gdb/dcache.c @@ -437,8 +437,8 @@ dcache_print_line (int index) db = (struct dcache_block *) n->value; - printf_filtered (_("Line %d: address %lx [%d hits]\n"), - index, db->addr, db->refs); + printf_filtered (_("Line %d: address %s [%d hits]\n"), + index, paddress (target_gdbarch, db->addr), db->refs); for (j = 0; j < LINE_SIZE; j++) { @@ -489,8 +489,8 @@ dcache_info (char *exp, int tty) { struct dcache_block *db = (struct dcache_block *) n->value; - printf_filtered (_("Line %d: address %lx [%d hits]\n"), - i, db->addr, db->refs); + printf_filtered (_("Line %d: address %s [%d hits]\n"), + i, paddress (target_gdbarch, db->addr), db->refs); i++; refcount += db->refs; |