From 50ee75353252ec07aa1f062a2b409a2f6eb0d48d Mon Sep 17 00:00:00 2001 From: Markus Deuling Date: Fri, 23 May 2008 04:31:40 +0000 Subject: * annotate.c (annotate_source, annotate_frame_begin): Replace deprecated_print_address_numeric with paddress. * cli/cli-cmds.c (list_command, edit_command): Likewise. * tui/tui-stack.c (tui_make_status_line): Likewise. * defs.h (deprecated_print_address_numeric): Remove. * printcmd.c (deprecated_print_address_numeric): Remove. * maint.c (maint_print_section_info): Fix comment. --- gdb/printcmd.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'gdb/printcmd.c') diff --git a/gdb/printcmd.c b/gdb/printcmd.c index b63fbc1..ad94018 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -676,23 +676,6 @@ build_address_symbolic (CORE_ADDR addr, /* IN */ return 0; } -/* Print address ADDR on STREAM. USE_LOCAL means the same thing as for - print_longest. */ -void -deprecated_print_address_numeric (CORE_ADDR addr, int use_local, - struct ui_file *stream) -{ - if (use_local) - fputs_filtered (paddress (addr), stream); - else - { - int addr_bit = gdbarch_addr_bit (current_gdbarch); - - if (addr_bit < (sizeof (CORE_ADDR) * HOST_CHAR_BIT)) - addr &= ((CORE_ADDR) 1 << addr_bit) - 1; - print_longest (stream, 'x', 0, (ULONGEST) addr); - } -} /* Print address ADDR symbolically on STREAM. First print it as a number. Then perhaps print -- cgit v1.1