summaryrefslogtreecommitdiff
path: root/gdb/m32r-rom.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-11-17 00:55:29 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-11-17 00:55:29 +0000
commit6f943d0bd73b2cfa0d43a0b4cb05a120b973c831 (patch)
tree26a78c961987ac4215f2ea09e24fd43cf53eeb5d /gdb/m32r-rom.c
parentbc1597b283d8ea92477cbd18d27d25be89446934 (diff)
downloadgdb-6f943d0bd73b2cfa0d43a0b4cb05a120b973c831.tar.gz
* amd64fsdb-tdep.c (amd64fbsd_sigtramp_start_addr): Use ULL suffix.
(amd64fbsd_sigtramp_end_addr): Likewise. * iq2000-tdep.c (iq2000_pointer_to_address): Fix argument type. (iq2000_address_to_pointer): Likewise. (iq2000_frame_prev_register): Likewise. (iq2000_extract_return_value): Use regcache_cooked_read_unsigned instead of regcache_cooked_read into CORE_ADDR variable. (iq2000_return_value): Fix argument types. * m32r-rom.c (m32r_load_section): Fix printf argument type. (m32r_load): Likewise. * m68kbsd-tdep.c: Include "gdbtypes.h". * Makefile.in: Update dependencies. * mn10300-tdep.c (mn10300_frame_unwind_cache): Fix aliasing violation. * nto-tdep.c (LM_ADDR): Do not refer to no-longer-existing lmo->l_addr_size element. * remote-m32r-sdi.c (m32r_xfer_memory): Use paddr to print address. (m32r_insert_breakpoint): Likewise. (m32r_remove_breakpoint): Likewise. (m32r_insert_watchpoint): Likewise. (m32r_remove_watchpoint): Likewise. (m32r_load): Fix printf argument type. * xtensa-tdep.c (xtensa_regset_from_core_section): Fix printf argument type. (xtensa_frame_this_id): Do not cast pointers to "int" for output. (xtensa_frame_prev_register): Likewise. (xtensa_push_dummy_call): Likewise.
Diffstat (limited to 'gdb/m32r-rom.c')
-rw-r--r--gdb/m32r-rom.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c
index a0b441f2607..3ba920bf936 100644
--- a/gdb/m32r-rom.c
+++ b/gdb/m32r-rom.c
@@ -85,7 +85,8 @@ m32r_load_section (bfd *abfd, asection *s, void *obj)
*data_count += section_size;
printf_filtered ("Loading section %s, size 0x%lx lma ",
- bfd_section_name (abfd, s), section_size);
+ bfd_section_name (abfd, s),
+ (unsigned long) section_size);
deprecated_print_address_numeric (section_base, 1, gdb_stdout);
printf_filtered ("\n");
gdb_flush (gdb_stdout);
@@ -167,7 +168,8 @@ m32r_load (char *filename, int from_tty)
}
#endif
gettimeofday (&end_time, NULL);
- printf_filtered ("Start address 0x%lx\n", bfd_get_start_address (abfd));
+ printf_filtered ("Start address 0x%lx\n",
+ (unsigned long) bfd_get_start_address (abfd));
print_transfer_performance (gdb_stdout, data_count, 0, &start_time,
&end_time);
@@ -523,14 +525,16 @@ m32r_upload_command (char *args, int from_tty)
data_count += section_size;
printf_filtered ("Loading section %s, size 0x%lx lma ",
- bfd_section_name (abfd, s), section_size);
+ bfd_section_name (abfd, s),
+ (unsigned long) section_size);
deprecated_print_address_numeric (section_base, 1, gdb_stdout);
printf_filtered ("\n");
gdb_flush (gdb_stdout);
}
/* Finally, make the PC point at the start address */
write_pc (bfd_get_start_address (abfd));
- printf_filtered ("Start address 0x%lx\n", bfd_get_start_address (abfd));
+ printf_filtered ("Start address 0x%lx\n",
+ (unsigned long) bfd_get_start_address (abfd));
print_transfer_performance (gdb_stdout, data_count, 0, &start_time,
&end_time);
}