forked from Imagelibrary/binutils-gdb
2005-02-14 Andrew Cagney <cagney@gnu.org>
* utils.c (paddress): New function. * defs.h (paddress): Declare. * printcmd.c (deprecated_print_address_numeric): Rename print_address_numeric, call paddress. * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update. * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update. * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update. * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update. * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update. * ada-valprint.c: Update.
This commit is contained in:
@@ -1040,13 +1040,13 @@ val_print_string (CORE_ADDR addr, int len, int width, struct ui_file *stream)
|
||||
if (errcode == EIO)
|
||||
{
|
||||
fprintf_filtered (stream, " <Address ");
|
||||
print_address_numeric (addr, 1, stream);
|
||||
deprecated_print_address_numeric (addr, 1, stream);
|
||||
fprintf_filtered (stream, " out of bounds>");
|
||||
}
|
||||
else
|
||||
{
|
||||
fprintf_filtered (stream, " <Error reading address ");
|
||||
print_address_numeric (addr, 1, stream);
|
||||
deprecated_print_address_numeric (addr, 1, stream);
|
||||
fprintf_filtered (stream, ": %s>", safe_strerror (errcode));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user