aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-14 14:37:38 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-14 14:37:38 +0000
commit66bf4b3a03e67c9c38fb7525c6ce25c4f870206a (patch)
tree9de77d59e9da5809b17deadcd753de54454d3100 /gdb/valprint.c
parent8adce22da6e4805b565e6519d112e93f2a09814c (diff)
downloadgdb-66bf4b3a03e67c9c38fb7525c6ce25c4f870206a.zip
gdb-66bf4b3a03e67c9c38fb7525c6ce25c4f870206a.tar.gz
gdb-66bf4b3a03e67c9c38fb7525c6ce25c4f870206a.tar.bz2
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.
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r--gdb/valprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c
index e292897..0085d7d 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -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));
}
}