diff options
author | Markus Deuling <deuling@de.ibm.com> | 2008-01-11 13:34:15 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2008-01-11 13:34:15 +0000 |
commit | ed49a04fe1bc299bc4b22c01a15c1f46ae21a294 (patch) | |
tree | 2aa63b9e2824bf8419d240f8dd2e7f6a370ee5df /gdb/tracepoint.c | |
parent | 6093d2eb3a94fe7f15abaec2ad363cffd46aa8cd (diff) | |
download | gdb-ed49a04fe1bc299bc4b22c01a15c1f46ae21a294.zip gdb-ed49a04fe1bc299bc4b22c01a15c1f46ae21a294.tar.gz gdb-ed49a04fe1bc299bc4b22c01a15c1f46ae21a294.tar.bz2 |
* exec.c: #include "arch-utils.h"
(print_section_info): Use gdbarch_from_bfd to get at the
current architecture. Replace current_gdbarch. Fix indention.
Replace deprecated_print_address_numeric by paddress.
* Makefile.in (exec.o) Add dependency to arch-utils.h.
* valprint.c (val_print_string): Replace
deprecated_print_address_numeric.
* tracepoint.c (trace_mention, scope_info): Likewise.
* symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
(print_symbol, print_partial_symbols, maintenance_info_psymtabs)
(maintenance_check_symtabs): Likewise.
* symfile.c (list_overlays_command): Likewise.
* stack.c (frame_info, print_block_frame_labels): Likewise.
* printcmd.c (print_address, print_address_demangle)
(address_info): Likewise.
* corefile.c (memory_error): Likewise.
* infcmd.c (jump_command): Likewise.
* breakpoint.c (insert_bp_location, describe_other_breakpoints)
(mention, delete_breakpoint): Likewise.
* c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
* dwarf2read.c (dump_die): Likewise.
* ada-valprint.c (ada_val_print_1): Likewise.
* f-valprint.c (f_val_print): Likewise.
* linux-fork.c (info_forks_command): Likewise.
* m32r-com.c (m32r_load_section, m32r_load)
(m32r_upload_command): Likewise.
* ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 5f75151..2d744ae 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -443,7 +443,7 @@ trace_mention (struct tracepoint *tp) if (addressprint || (tp->source_file == NULL)) { printf_filtered (" at "); - deprecated_print_address_numeric (tp->address, 1, gdb_stdout); + printf_filtered ("%s", paddress (tp->address)); } if (tp->source_file) printf_filtered (": file %s, line %d.", @@ -2450,8 +2450,7 @@ scope_info (char *args, int from_tty) break; case LOC_STATIC: printf_filtered ("in static storage at address "); - deprecated_print_address_numeric (SYMBOL_VALUE_ADDRESS (sym), - 1, gdb_stdout); + printf_filtered ("%s", paddress (SYMBOL_VALUE_ADDRESS (sym))); break; case LOC_REGISTER: printf_filtered ("a local variable in register $%s", @@ -2486,13 +2485,11 @@ scope_info (char *args, int from_tty) continue; case LOC_LABEL: printf_filtered ("a label at address "); - deprecated_print_address_numeric (SYMBOL_VALUE_ADDRESS (sym), - 1, gdb_stdout); + printf_filtered ("%s", paddress (SYMBOL_VALUE_ADDRESS (sym))); break; case LOC_BLOCK: printf_filtered ("a function at address "); - deprecated_print_address_numeric (BLOCK_START (SYMBOL_BLOCK_VALUE (sym)), - 1, gdb_stdout); + printf_filtered ("%s", paddress (BLOCK_START (SYMBOL_BLOCK_VALUE (sym)))); break; case LOC_BASEREG: printf_filtered ("a variable at offset %ld from register $%s", @@ -2514,8 +2511,7 @@ scope_info (char *args, int from_tty) else { printf_filtered ("static storage at address "); - deprecated_print_address_numeric (SYMBOL_VALUE_ADDRESS (msym), 1, - gdb_stdout); + printf_filtered ("%s", paddress (SYMBOL_VALUE_ADDRESS (msym))); } break; case LOC_OPTIMIZED_OUT: @@ -2526,8 +2522,7 @@ scope_info (char *args, int from_tty) break; case LOC_INDIRECT: printf_filtered ("extern (local indirect) at address "); - deprecated_print_address_numeric (SYMBOL_VALUE_ADDRESS (sym), - 1, gdb_stdout); + printf_filtered ("%s", paddress (SYMBOL_VALUE_ADDRESS (sym))); break; case LOC_COMPUTED: case LOC_COMPUTED_ARG: |