aboutsummaryrefslogtreecommitdiff
path: root/gdb/annotate.c
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2008-05-23 04:31:40 +0000
committerMarkus Deuling <deuling@de.ibm.com>2008-05-23 04:31:40 +0000
commit50ee75353252ec07aa1f062a2b409a2f6eb0d48d (patch)
tree057e55d93271c95eb756cb7967b455aafd14156b /gdb/annotate.c
parentd44e847372bc71608d46402a65034c8d40ba2e80 (diff)
downloadgdb-50ee75353252ec07aa1f062a2b409a2f6eb0d48d.zip
gdb-50ee75353252ec07aa1f062a2b409a2f6eb0d48d.tar.gz
gdb-50ee75353252ec07aa1f062a2b409a2f6eb0d48d.tar.bz2
* 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.
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r--gdb/annotate.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c
index 9494ee0..ee9adfa 100644
--- a/gdb/annotate.c
+++ b/gdb/annotate.c
@@ -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