diff options
author | Markus Deuling <deuling@de.ibm.com> | 2008-05-23 04:31:40 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2008-05-23 04:31:40 +0000 |
commit | 50ee75353252ec07aa1f062a2b409a2f6eb0d48d (patch) | |
tree | 057e55d93271c95eb756cb7967b455aafd14156b /gdb/printcmd.c | |
parent | d44e847372bc71608d46402a65034c8d40ba2e80 (diff) | |
download | gdb-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/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 17 |
1 files changed, 0 insertions, 17 deletions
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 |