OSDN Git Service

2006-10-23 Dave Brolley <brolley@redhat.com>
authorbrolley <brolley>
Mon, 23 Oct 2006 21:11:51 +0000 (21:11 +0000)
committerbrolley <brolley>
Mon, 23 Oct 2006 21:11:51 +0000 (21:11 +0000)
        * compCGEN.cxx (cgen_print_address): Print "0x" prefix.

sid/component/cgen-cpu/ChangeLog
sid/component/cgen-cpu/compCGEN.cxx

index 76dba9a..bb3b0aa 100644 (file)
@@ -1,3 +1,7 @@
+2006-10-23  Dave Brolley  <brolley@redhat.com>
+
+       * compCGEN.cxx (cgen_print_address): Print "0x" prefix.
+
 2006-10-18  Dave Brolley  <brolley@redhat.com>
 
        * Contribute the following changes:
index d4993f4..c0ad71b 100644 (file)
@@ -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<cgen_bi_endian_cpu *>(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 ())