aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-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/c-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/c-valprint.c')
-rw-r--r--gdb/c-valprint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index e9372fb..89a68e3 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -49,7 +49,7 @@ print_function_pointer_address (CORE_ADDR address, struct ui_file *stream)
if (addressprint && func_addr != address)
{
fputs_filtered ("@", stream);
- print_address_numeric (address, 1, stream);
+ deprecated_print_address_numeric (address, 1, stream);
fputs_filtered (": ", stream);
}
print_address_demangle (func_addr, stream, demangle);
@@ -184,7 +184,7 @@ c_val_print (struct type *type, const bfd_byte *valaddr, int embedded_offset,
if (addressprint && format != 's')
{
- print_address_numeric (addr, 1, stream);
+ deprecated_print_address_numeric (addr, 1, stream);
}
/* For a pointer to char or unsigned char, also print the string
@@ -269,7 +269,7 @@ c_val_print (struct type *type, const bfd_byte *valaddr, int embedded_offset,
CORE_ADDR addr
= extract_typed_address (valaddr + embedded_offset, type);
fprintf_filtered (stream, "@");
- print_address_numeric (addr, 1, stream);
+ deprecated_print_address_numeric (addr, 1, stream);
if (deref_ref)
fputs_filtered (": ", stream);
}