* 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.
This commit is contained in:
Markus Deuling
2008-05-23 04:31:40 +00:00
parent d44e847372
commit 50ee753532
7 changed files with 27 additions and 55 deletions

View File

@@ -427,22 +427,15 @@ annotate_source (char *filename, int line, int character, int mid, CORE_ADDR pc)
else
printf_filtered (("\032\032"));
printf_filtered (("%s:%d:%d:%s:0x"), filename,
line, character,
mid ? "middle" : "beg");
deprecated_print_address_numeric (pc, 0, gdb_stdout);
printf_filtered (("\n"));
printf_filtered (("%s:%d:%d:%s:%s\n"), filename, line, character,
mid ? "middle" : "beg", paddress (pc));
}
void
annotate_frame_begin (int level, CORE_ADDR pc)
{
if (annotation_level > 1)
{
printf_filtered (("\n\032\032frame-begin %d 0x"), level);
deprecated_print_address_numeric (pc, 0, gdb_stdout);
printf_filtered (("\n"));
}
printf_filtered (("\n\032\032frame-begin %d %s\n"), level, paddress (pc));
}
void