forked from Imagelibrary/binutils-gdb
2006-10-20 Andrew Stubbs <andrew.stubbs@st.com>
opcodes/ * sh-dis.c (print_insn_sh): Remove 0x from output to prevent GDB duplicating it. gas/testsuite/ * gas/sh/pcrel-coff.d: Update patterns (remove 0x on addresses). * gas/sh/pcrel-hms.d: Likewise. * gas/sh/pcrel.d: Likewise. * gas/sh/pcrel2.d: Likewise. * gas/sh/pic.d: Likewise. * gas/sh/tlsd.d: Likewise. * gas/sh/tlsdnopic.d: Likewise. * gas/sh/tlsdpic.d: Likewise.
This commit is contained in:
@@ -924,11 +924,11 @@ print_insn_sh (bfd_vma memaddr, struct disassemble_info *info)
|
||||
}
|
||||
if ((*info->symbol_at_address_func) (val, info))
|
||||
{
|
||||
fprintf_fn (stream, "\t! 0x");
|
||||
fprintf_fn (stream, "\t! ");
|
||||
(*info->print_address_func) (val, info);
|
||||
}
|
||||
else
|
||||
fprintf_fn (stream, "\t! 0x%x", val);
|
||||
fprintf_fn (stream, "\t! %x", val);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user