From aefe4fd227a0ad652e79d096970bc5139eea17e5 Mon Sep 17 00:00:00 2001 From: brolley Date: Mon, 23 Oct 2006 21:11:51 +0000 Subject: [PATCH] 2006-10-23 Dave Brolley * compCGEN.cxx (cgen_print_address): Print "0x" prefix. --- sid/component/cgen-cpu/ChangeLog | 4 ++++ sid/component/cgen-cpu/compCGEN.cxx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sid/component/cgen-cpu/ChangeLog b/sid/component/cgen-cpu/ChangeLog index 76dba9aff7..bb3b0aabc0 100644 --- a/sid/component/cgen-cpu/ChangeLog +++ b/sid/component/cgen-cpu/ChangeLog @@ -1,3 +1,7 @@ +2006-10-23 Dave Brolley + + * compCGEN.cxx (cgen_print_address): Print "0x" prefix. + 2006-10-18 Dave Brolley * Contribute the following changes: diff --git a/sid/component/cgen-cpu/compCGEN.cxx b/sid/component/cgen-cpu/compCGEN.cxx index d4993f405b..c0ad71b3bb 100644 --- a/sid/component/cgen-cpu/compCGEN.cxx +++ b/sid/component/cgen-cpu/compCGEN.cxx @@ -249,7 +249,7 @@ cgen_bi_endian_cpu::cgen_print_address(bfd_vma addr, struct disassemble_info *in { cgen_bi_endian_cpu *thisp = static_cast(info->application_data); - thisp->trace_stream << hex << addr << dec; + thisp->trace_stream << "0x" << hex << addr << dec; if (cgen_symbol_at_address (addr, info)) if (! thisp->symbol_at_address.empty ()) -- 2.11.0