2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
* dis-buf.c (perror_memory): Use sprintf_vma to print out address.
This commit is contained in:
parent
66bf4b3a03
commit
d60988980f
2 changed files with 14 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* dis-buf.c (perror_memory): Use sprintf_vma to print out
|
||||
address.
|
||||
|
||||
2005-02-11 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* iq2000-asm.c: Regenerate.
|
||||
|
|
|
@ -56,10 +56,15 @@ perror_memory (status, memaddr, info)
|
|||
/* Can't happen. */
|
||||
info->fprintf_func (info->stream, _("Unknown error %d\n"), status);
|
||||
else
|
||||
/* Actually, address between memaddr and memaddr + len was
|
||||
out of bounds. */
|
||||
info->fprintf_func (info->stream,
|
||||
_("Address 0x%x is out of bounds.\n"), memaddr);
|
||||
{
|
||||
char buf[30];
|
||||
|
||||
/* Actually, address between memaddr and memaddr + len was
|
||||
out of bounds. */
|
||||
sprintf_vma (buf, memaddr);
|
||||
info->fprintf_func (info->stream,
|
||||
_("Address 0x%s is out of bounds.\n"), buf);
|
||||
}
|
||||
}
|
||||
|
||||
/* This could be in a separate file, to save miniscule amounts of space
|
||||
|
|
Loading…
Reference in a new issue