aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
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/cli
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/cli')
-rw-r--r--gdb/cli/cli-cmds.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index 0e93182..ca09332 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -604,14 +604,14 @@ edit_command (char *arg, int from_tty)
sym = find_pc_function (sal.pc);
if (sym)
{
- print_address_numeric (sal.pc, 1, gdb_stdout);
+ deprecated_print_address_numeric (sal.pc, 1, gdb_stdout);
printf_filtered (" is in ");
fputs_filtered (SYMBOL_PRINT_NAME (sym), gdb_stdout);
printf_filtered (" (%s:%d).\n", sal.symtab->filename, sal.line);
}
else
{
- print_address_numeric (sal.pc, 1, gdb_stdout);
+ deprecated_print_address_numeric (sal.pc, 1, gdb_stdout);
printf_filtered (" is at %s:%d.\n",
sal.symtab->filename, sal.line);
}
@@ -771,14 +771,14 @@ list_command (char *arg, int from_tty)
sym = find_pc_function (sal.pc);
if (sym)
{
- print_address_numeric (sal.pc, 1, gdb_stdout);
+ deprecated_print_address_numeric (sal.pc, 1, gdb_stdout);
printf_filtered (" is in ");
fputs_filtered (SYMBOL_PRINT_NAME (sym), gdb_stdout);
printf_filtered (" (%s:%d).\n", sal.symtab->filename, sal.line);
}
else
{
- print_address_numeric (sal.pc, 1, gdb_stdout);
+ deprecated_print_address_numeric (sal.pc, 1, gdb_stdout);
printf_filtered (" is at %s:%d.\n",
sal.symtab->filename, sal.line);
}
@@ -895,9 +895,9 @@ disassemble_command (char *arg, int from_tty)
else
{
printf_filtered ("from ");
- print_address_numeric (low, 1, gdb_stdout);
+ deprecated_print_address_numeric (low, 1, gdb_stdout);
printf_filtered (" to ");
- print_address_numeric (high, 1, gdb_stdout);
+ deprecated_print_address_numeric (high, 1, gdb_stdout);
printf_filtered (":\n");
}