summaryrefslogtreecommitdiff
path: root/gdb/m32r-rom.c
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2008-01-11 13:34:15 +0000
committerMarkus Deuling <deuling@de.ibm.com>2008-01-11 13:34:15 +0000
commite29b00e46e6e490d25b95e4e5a7f55bf5cffa411 (patch)
tree3fc85925db72b37410546e516528c55d344ad95a /gdb/m32r-rom.c
parent1cc59d01a735b9e2a77ac23e9a42bc2221d4641b (diff)
downloadgdb-e29b00e46e6e490d25b95e4e5a7f55bf5cffa411.tar.gz
* 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/m32r-rom.c')
-rw-r--r--gdb/m32r-rom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c
index 053d6bb7686..9c972424a1c 100644
--- a/gdb/m32r-rom.c
+++ b/gdb/m32r-rom.c
@@ -87,7 +87,7 @@ m32r_load_section (bfd *abfd, asection *s, void *obj)
printf_filtered ("Loading section %s, size 0x%lx lma ",
bfd_section_name (abfd, s),
(unsigned long) section_size);
- deprecated_print_address_numeric (section_base, 1, gdb_stdout);
+ fputs_filtered (paddress (section_base), gdb_stdout);
printf_filtered ("\n");
gdb_flush (gdb_stdout);
monitor_printf ("%s mw\r", paddr_nz (section_base));
@@ -146,7 +146,7 @@ m32r_load (char *filename, int from_tty)
printf_filtered ("Loading section %s, size 0x%lx vma ",
bfd_section_name (abfd, s), section_size);
- deprecated_print_address_numeric (section_base, 1, gdb_stdout);
+ fputs_filtered (paddress (section_base), gdb_stdout);
printf_filtered ("\n");
gdb_flush (gdb_stdout);
monitor_printf ("%x mw\r", section_base);
@@ -527,7 +527,7 @@ m32r_upload_command (char *args, int from_tty)
printf_filtered ("Loading section %s, size 0x%lx lma ",
bfd_section_name (abfd, s),
(unsigned long) section_size);
- deprecated_print_address_numeric (section_base, 1, gdb_stdout);
+ fputs_filtered (paddress (section_base), gdb_stdout);
printf_filtered ("\n");
gdb_flush (gdb_stdout);
}